728x90
보유한 python library가 다음과 같을 때:
numpy==1.19.0
packaging==20.4
pandas @ file:///opt/concourse/worker/volumes/live/38d1301c-8fa9-4d2f-662e-34dddf33b183/volume/pandas_1592841668171/work
pandocfilters==1.4.2
그대로 pip freeze > ./requirements.txt
하면 path 문제로 설치가 안될 수 있음
이를 해결하기 위해
pip list --format=freeze > requirements.txt
를 입력하면 해결 가능함
728x90
'Program > Python' 카테고리의 다른 글
| 한글 오류 SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xa1 in position: invalid start byte (0) | 2025.07.28 |
|---|---|
| python logger 끄는 법 - turn off logging (0) | 2024.02.20 |
| numpy를 이용한 연속적인 중복값 제거 (0) | 2021.01.22 |
| ImportError: cannot import name 'main' pip (0) | 2019.10.08 |
| pip와 pip3 차이 (2) | 2018.04.12 |