Splunk Dev

How to solve pandas import error "module 'os' has no attribute 'add_dll_directory'"?

Gregorious94
New Member

Hey,

 

I'm trying to use pandas in the backend python script for an alert. I copied the module into the /bin folder. Trying to import it, I get the error "module 'os' has no attribute 'add_dll_directory'". Does somebody know how to solve / work around that?

Im running Splunk + Python on a Windows 10 Machine

Regards

 

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...