반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- IntelliJ
- aws cicd
- Spring
- docker
- Spring Error
- chartjs
- Jenkins
- Python
- 도커
- codebuild
- bootstrap
- AWS CI/CD 구축하기
- or some instances in your deployment group are experiencing problems.
- codepipeline
- JavaScript
- PostgreSQL
- aws
- chart.js
- kubeflow
- Kafka
- codedeploy error
- Airflow
- java bigdecimal
- SQL
- redis
- COALESCE
- VPN
- codedeploy
- Flux
- node
Archives
- Today
- Total
목록2025/06/05 (1)
Small Asteroid Blog
[python]가상환경에서 모듈 에러 ModuleNotFoundError
파이썬 파일 실행 시 가상환경을 만들었는데 파일 실행을 하면 모듈이 설치되지 않아 ModuleNotFoundError import 에러가 발생했다. 터미널창은 (.venv) 가상환경을 사용하고 있지만which python 을 하면 로컬에 설치된 파이썬 경로가 나왔다. python: aliased to /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 모듈을 설치했음에도 모듈 설치가 안되었다고 에러가 나는 이유는alias가 가상환경의 python을 덮어쓰고 있어서,가상환경을 활성화해도 여전히 전역 Python을 바라보게 되는 상황인 것이다. ✅ 해결 방법🔧 1. alias 제거 (임시) 터미널에서 아래를 실행했을 때 unalias py..
백엔드/Python
2025. 6. 5. 13:43