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)

JLWertz82
Loves-to-Learn

There is a precaution of this noted in the Machine Learning Toolkit notes as follows: 

The Splunk Enterprise Security App relies on MLTK and the PSC add-on. If you are a Splunk Enterprise Security App user, and you are upgrading that app, restart your Splunk instance first. Doing so closes any background PSC processes that can cause the Splunk Enterprise Security App upgrade to error out.

0 Karma

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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...