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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.    Watch On-Demand   In this Tech Talk, Splunk platform specialists ...

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...