Splunk SOAR

How to install dependencies in SOAR Cloud Custom App

annielee
Explorer

Hi,

I am now adding a new action "ingest excel" to the existing SOAR App CSV Import. Two dependencies are required to be installed for this action: pandas and openpyxl.

However, after adding the dependencies in App Wizard, it still show me the output 

ModuleNotFoundError: No module named 'pandas'

I found that in the app JSON, my dependencies in only added to "pip_dependencies" , but not  "pip39_dependencies". Is that the reason why dependency is not installed?

Please advise. Thank you.

 

annielee_3-1737443217663.png

 

annielee_1-1737443157875.pngannielee_2-1737443187652.png

 

 

Labels (1)
0 Karma
1 Solution

annielee
Explorer

Hi,

I finally solved this issue by downloading the source code from Splunkbase and manually moving the wheel file to the path: wheels/py3/. Then, I tarred the source code and installed it to SOAR Cloud.

The JSON file is also updated with the following configuration.

annielee_1-1737713266988.png

annielee_0-1737713248166.png

 

View solution in original post

0 Karma

annielee
Explorer

Hi,

I finally solved this issue by downloading the source code from Splunkbase and manually moving the wheel file to the path: wheels/py3/. Then, I tarred the source code and installed it to SOAR Cloud.

The JSON file is also updated with the following configuration.

annielee_1-1737713266988.png

annielee_0-1737713248166.png

 

0 Karma

phanTom
SplunkTrust
SplunkTrust

@annielee have you tried using the relevant .whl file for the 2 libs and adding to the app as a wheel dependency? 

--- Hope this helped? Happy SOARing! ---

0 Karma

annielee
Explorer

Yes. The result is the same.

annielee_0-1737451168789.png

 

 

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...