Installation

Python for Scientific Computing Add-on for Splunk Docker on Mac M2

circlecreek
Engager

When trying to run the ML demos on my Macbook M2 running Splunk in a docker env I get the following error in the middle of the display:

Error in 'fit' command: Failed to find Python for Scientific Computing Add-on (Splunk_SA_Scientific_Python_linux_x86_64)

After having installed both Linux x64 (yes it also runs fast in Rosetta 2) + the mac_Silicon one and restarted the server, the error still remains.

Any help appreciated

Thank you

Labels (1)

circlecreek
Engager

Alright,


For those having the same problem and monitoring evolutions in replies, here is the tip:
1. Remove the Add-on for ARM64 + assert from shell (no PSC add-on when ls -l of $SPLUNK_HOME/etc/apps)

2. Install the Add-on for x86_64

3. Restart the Splunk instance (UI or CLI)

The problem was simply that for M2-running Splunk instance (using Rosetta 2) necessitates x86_64 libraries for Python. Installing the ARM64 ones don't help. BUT installing the x86_64 without removing first the ARM64 won't help.

I hope this will help other M2-Splunk fellows.
Good luck 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...