Open sharrajesh opened 2 months ago
Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/
By trying suggested changes (--break-system-packages) it still did not work and broke later in building c packages.
I was wondering if there is pre-built docker images just like TRAM so i can just do docker-compose up and it works.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Is this being looked at still?
Docker Compose Build Failure: Externally Managed Environment Error
Description
When attempting to build Caldera using Docker Compose, the build process fails due to an "externally-managed-environment" error during the Python package installation step.
Environment
Steps to Reproduce
docker-compose build
Error Message
Expected Behavior
The Docker Compose build should complete successfully, installing all required Python packages.
Actual Behavior
The build fails at the step where pip is trying to install the Python packages listed in
requirements.txt
.Possible Cause
This error appears to be related to PEP 668, which introduces the concept of externally managed environments. The Ubuntu image used in the Dockerfile might be enforcing this policy, preventing pip from installing packages globally.
Suggested Solutions
apt
for installing Python packages instead ofpip
, where possible.--break-system-packages
flag to the pip install command (use with caution as it may lead to system instability).Additional Information
python3
,python3-pip
,git
,curl
, andmingw-w64
.Any assistance in resolving this issue would be greatly appreciated. Thank you!