-
[Python] pip freeze > requirements.txt 시 @ file ~ 등 이상한 오류코딩/Python 2022. 3. 17. 17:03
django 프로젝트를 aws에 올릴 일이 있어서 requirements.txt를 만들었는데
asgiref @ file:///tmp/build/80754af9/asgiref_1625643473416/work astroid @ file:///opt/concourse/worker/volumes/live/5aff3c6b-d8ac-4e74-4846-0f446794397d/volume/astroid_1628063157520/work autopep8==1.4.4
이런식으로 이상하게 생기더라고요 ㅠㅠ 이게 이후에 문제가 되길래 해결책을 찾아봤습니다!
pip list --format=freeze > requirements.txt
이렇게 하시면 해결이 됩니다!
'코딩 > Python' 카테고리의 다른 글
[Python] VS Code에서 python이 설정이 안될 때 해결 방법 (0) 2022.03.07