Tutorial Python library installation


I would like to know if you have a new procedure for installing Python libraries. Indeed, with the old version, I had created a bash script that allowed me to install Python libraries, but since the recent updates, this no longer works.

Can you provide us with the new instructions?

Thank you in advance.

I’ve found it :slight_smile:

Here’s an example for the ldap3 library:

Pull the image

docker pull seatable/seatable-python-runner:latest

Activate a container and name it “add-libs” from the backend.

docker run -d --name="add-libs" seatable/seatable-python-runner custom

Enter the container

docker exec -it add-libs sh

Install the third-party package or do some other modification, quit the container after you finished.

/settings # pip install ldap3

You can add other Python libraries.

Exit the container

/settings # exit

Commit the new image

docker commit -m "add APPS" --change "CMD null" add-libs seatable/seatable-python-runner:APPS

Apply the new image

Modify the following variable in ./seatable_python.yml in the python-starter container:


Up container:

docker-compose up -d


docker stop add-libs && docker container rm add-libs
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.