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
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!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

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

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...