우분투에서 파이썬 모듈 다운로드시 오류 발생
페이지 정보

본문
externally-managed-environment 오류
[출처] externally-managed-environment 오류|작성자 카드한장
admin@stiot:~/src/rs-232 $ python -m pip config set global.break-system-packages true
Writing to /home/admin/.config/pip/pip.conf
[출처] externally-managed-environment 오류|작성자 카드한장
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.
See /usr/share/doc/python3.12/README.venv for more information.
[출처] externally-managed-environment 오류|작성자 카드한장
admin@stiot:~/src/rs-232 $ python -m pip config set global.break-system-packages true
Writing to /home/admin/.config/pip/pip.conf
[출처] externally-managed-environment 오류|작성자 카드한장
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.
See /usr/share/doc/python3.12/README.venv for more information.
첨부파일
-
externally-managed-enviro.. _ 네이버블로그.pdf (156.7K)
0회 다운로드 | DATE : 2025-09-03 17:04:23 -
[Python] pip error_ externally-managed-environment.pdf (1.5M)
0회 다운로드 | DATE : 2025-09-03 17:07:17
관련링크
- 이전글우분투 mongoDB 7.0 설치 25.09.03
- 다음글java springboot 테이블 등록,수정,삭제 히스트로 남기기 envers 25.08.28
댓글목록
등록된 댓글이 없습니다.