bookworm
기본 데비안 및/또는 미러가 있습니다 sid
. 이런 곳에 사용하고 싶어요 apt
. 간단한 문장도 apt install python3
말이 안 돼요.
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
나는 문제를 이해하고 있으며 PEP 668에 익숙합니다. 내 이미지에 Python 인터프리터를 추가하려면 Python을 먼저 설치해야 한다고 생각합니다. apt
Debian 저장소에서 Python을 설치하는 방법은 무엇입니까 ?