- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-28-2022 02:22 AM
I have a need to use a library called "Beautiful Soup" for scraping and HTML Parsing on a Custom Automation I am writing for use in a playbook. How do I install the dependencies so that I can use any library that I need ?
Traditional on VSCode I would use pip install etc on the server I see that it isn't so simple.
Thanks in advance
12-28-2022 10:30 AM
One of docker images has Beautiful Soup installed so you will need to change the docker image name as below for the automation scrip that you are trying to run. Then you can import Beautiful Soup functions.
If you need to install other dependencies that might not be pre-installed, you can use the built-in command "/docker_image_create" and specifying other parameters. The only potential issue is you wont be able to deleted dockers from the UI, you will need to go into the server to delete them.
I hope this helps!
12-28-2022 10:30 AM
One of docker images has Beautiful Soup installed so you will need to change the docker image name as below for the automation scrip that you are trying to run. Then you can import Beautiful Soup functions.
If you need to install other dependencies that might not be pre-installed, you can use the built-in command "/docker_image_create" and specifying other parameters. The only potential issue is you wont be able to deleted dockers from the UI, you will need to go into the server to delete them.
I hope this helps!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!