All Apps and Add-ons

Error when installing Python for Scientific Computing?

Gongizz
Engager

Hello everyone. I have a problem installing "Python for Scientific Computing. Every time I try to install the App I get this error

Error during app install: failed to extract app from C:\Program Files\Splunk\var\run\4f044214eacc4962.tar.gz to C:\Program Files\Splunk\var\run\splunk\bundle_tmp\6f09d351dce26128: The system cannot find the path specified.

I have tried creating the folder manually with no success. also tried installing it through the terminal but the same problem occurs. Does anyone have an idea to solve this problem?

Labels (1)

mconway
New Member

Looks like the installer on Windows is hitting the MAX_PATH limitation in Windows itself just had a look at the splunkd.log output.

Untarring into etc/apps seems to work fine.

2-30-2023 14:29:56.212 +0400 WARN Pathname [3268 TcpChannelThread] - Pathname 'C:\Program Files\Splunk\var\run\splunk\bundle_tmp\e1dd8fe8ca2eeba4\Splunk_SA_Scientific_Python_windows_x86_64\bin\windows_x86_64\Lib\site-packages\caffe2\python\serialized_test\data\operator_test\collect_and_distribute_fpn_rpn_proposals_op_test.test_collect_and_dist.zip' larger than MAX_PATH, callers: call_sites=[0x100f9b8, 0xdf3670, 0xdf1884, 0x8e9215, 0x8f0141, 0x8ef770, 0x8cc811, 0x8b2c61, 0xffcd08, 0x1083908, 0xfa45c3]
12-30-2023 14:29:56.212 +0400 WARN LocalAppsAdminHandler [3268 TcpChannelThread] - File length is greater than 260, File creation may fail for C:\Program Files\Splunk\var\run\splunk\bundle_tmp\e1dd8fe8ca2eeba4\Splunk_SA_Scientific_Python_windows_x86_64\bin\windows_x86_64\Lib\site-packages\caffe2\python\serialized_test\data\operator_test\collect_and_distribute_fpn_rpn_proposals_op_test.test_collect_and_dist.zip
12-30-2023 14:29:56.212 +0400 WARN LocalAppsAdminHandler [3268 TcpChannelThread] - Failed to create file C:\Program Files\Splunk\var\run\splunk\bundle_tmp\e1dd8fe8ca2eeba4\Splunk_SA_Scientific_Python_windows_x86_64\bin\windows_x86_64\Lib\site-packages\caffe2\python\serialized_test\data\operator_test\collect_and_distribute_fpn_rpn_proposals_op_test.test_collect_and_dist.zip while untarring C:\WINDOWS\TEMP\tmpfgko5w2i: The system cannot find the path specified.

0 Karma

woodcock
Esteemed Legend

I just had this problem and I suspect that it is just to big and that this would have fixed it:

https://docs.splunk.com/Documentation/ES/latest/Install/InstallEnterpriseSecurity#Step_2._Install_Sp...

For me, that was a hassle so I just downloaded it and did this from the CLI:
cd $SPLUNK_HOME/etc/apps
tar xf /tmp/python-for-scientific-computing-for-windows-64-bit_410.tgz

0 Karma

nickhills
Ultra Champion

How are you installing the package - are you using the UI, or copying the package directly?

Also are you certain you are using specific Windows version?
https://apps.splunk.com/app/2883/

 

If my comment helps, please give it a thumbs up!
0 Karma

Gongizz
Engager

I have tried both but same error message. I use the windows version, have not tried the linux version, but am on a windows machine

0 Karma

kyoung2580
Explorer

Try this

1. Unzip app.tgz to etc\apps

2. Restart splunk

3. Good luck:)

Get Updates on the Splunk Community!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...