Issue/Python
[Python] pip install dotenv 에러
hyeonjins
2024. 10. 14. 13:40
OpenAI API를 .env 파일에 저장한 후에 dotenv를 통해 불러오려고 하니 install 오류가 발생했다.
pip install dotenv
발생되는 문제
× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
해결방법
pip install python-dotenv
dotenv 패키지 이름이 python-dotenv라고 한다