Fix pip3 error #709

Merged
telackey merged 1 commits from telackey/pip into main 2024-01-23 03:06:16 +00:00
Member

Fix new error:

#15 [builder  7/12] RUN cd /apps/el-gen && pip3 install -r requirements.txt
#15 2.124 error: externally-managed-environment
#15 2.124 
#15 2.124 × This environment is externally managed
#15 2.124 ╰─> 
#15 2.124     The system-wide python installation should be maintained using the system
#15 2.124     package manager (apk) only.
#15 2.124     
#15 2.124     If the package in question is not packaged already (and hence installable via
#15 2.124     "apk add py3-somepackage"), please consider installing it inside a virtual
#15 2.124     environment, e.g.:
Fix new error: ``` #15 [builder 7/12] RUN cd /apps/el-gen && pip3 install -r requirements.txt #15 2.124 error: externally-managed-environment #15 2.124 #15 2.124 × This environment is externally managed #15 2.124 ╰─> #15 2.124 The system-wide python installation should be maintained using the system #15 2.124 package manager (apk) only. #15 2.124 #15 2.124 If the package in question is not packaged already (and hence installable via #15 2.124 "apk add py3-somepackage"), please consider installing it inside a virtual #15 2.124 environment, e.g.: ```
dboreham reviewed 2024-01-22 21:47:19 +00:00
Owner

Hmm. Do we know which package it complained about?

Hmm. Do we know which package it complained about?
i-norden approved these changes 2024-01-23 03:00:49 +00:00
i-norden left a comment
Member

Thanks for the quick turn around. Tested locally and can attest to this fixing the error in https://git.vdb.to/cerc-io/ipld-eth-server/actions/runs/21/jobs/1

Thanks for the quick turn around. Tested locally and can attest to this fixing the error in https://git.vdb.to/cerc-io/ipld-eth-server/actions/runs/21/jobs/1
Author
Member

Hmm. Do we know which package it complained about?

All/any. It seems there was a change to the underlying container (golang-1.20-alpine), warning that all python packages should be installed via apk unless in a virtualenv. That seemed a bit overkill in this case, so I added the option instead.

> Hmm. Do we know which package it complained about? All/any. It seems there was a change to the underlying container (golang-1.20-alpine), warning that all python packages should be installed via apk unless in a virtualenv. That seemed a bit overkill in this case, so I added the option instead.
dboreham referenced this issue from a commit 2024-02-08 19:44:24 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#709
No description provided.