I cannot see the option of import python libraries using the requirements.txt in my self-hosted retool environment. It is running on Ubuntu 24.04.01 -LTS with Docker version 27.3.1. Using Retool image release 3.52.25-stable
Actually the package that I'm trying to look for does not appear in the inbox
I found on internet it could be a problem with the code-executor container, but I don't see any problem according to documentation.
This is my config
code-executor:
image: code-executor:3.52.25-stable
command: bash -c "./start.sh"
env_file: ./docker.env
environment:
- DEPLOYMENT_TEMPLATE_TYPE=docker-compose
- NODE_OPTIONS=--max_old_space_size=1024
- PYPI_REPOSITORIES=Simple index
- TRUSTED_HOSTS=pypi.org
networks:
- code-executor-network
# code-executor uses nsjail to sandbox code execution. nsjail requires
# privileged container access.
# If your deployment does not support privileged access, you can set this
# to false to not use nsjail. Without nsjail, all code is run without
# sandboxing within your deployment.
privileged: true
restart: on-failure
There are generally two possible reasons for this:
Your code-executor isn't running in privileged mode
The necessary feature flags haven't been toggled on for your organization
Your logs pretty much eliminate the first possibility, meaning I'll go ahead and check those flags. After your instance performs its next license check, let me know if you're still not seeing that option.
Do you know the primary email associated with your license key? I activated the necessary keys for the key that is associated with your email, but notice now that there's a few others with the same domain.
Actually, the on prem deployment is running with a Team license with other e-mail. The captures shown are with the Team license running.
How can I send you the real email? I dont want to write it in this post