Building for the Splunk Platform

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!

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...

Security Highlights | January 2023 Newsletter

January 2023 Splunk Security Essentials (SSE) 3.7.0 ReleaseThe free Splunk Security Essentials (SSE) 3.7.0 app ...

Platform Highlights | January 2023 Newsletter

 January 2023Peace on Earth and Peace of Mind With Business ResilienceAll organizations can start the new year ...