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!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...