You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason I am unable to use the devcontainer as configured. I get an error about a python environment error. Snippet:
31.81 Updating pip...
32.13 error: externally-managed-environment
32.13
32.13 × This environment is externally managed
32.13 ╰─> To install Python packages system-wide, try apt install
32.13 python3-xyz, where xyz is the package you are trying to
32.13 install.
32.13
32.13 If you wish to install a non-Debian-packaged Python package,
32.13 create a virtual environment using python3 -m venv path/to/venv.
32.13 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
32.13 sure you have python3-full installed.
32.13
32.13 If you wish to install a non-Debian packaged Python application,
32.13 it may be easiest to use pipx install xyz, which will manage a
32.13 virtual environment for you. Make sure you have pipx installed.
32.13
32.13 See /usr/share/doc/python3.11/README.venv for more information.
32.13
32.13 note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
32.13 hint: See PEP 668 for the detailed specification.
32.18 ERROR: Feature "Python" (ghcr.io/devcontainers/features/python) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/python for help troubleshooting this error.
Edit: Pinning the image to the Debian Bullseye version seems to solve the problem for a start, as there have been changes to the python config in the new Bookworm release. "image": "mcr.microsoft.com/devcontainers/go:1.20-bullseye",
Description
Log: https://gist.github.com/CodeMan99/4b3ab939a1d1a0f6f6afe09f0a8cced2
For some reason I am unable to use the devcontainer as configured. I get an error about a python environment error. Snippet:
Gitea Version
d1e066f
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Not Applicable.
Database
None
The text was updated successfully, but these errors were encountered: