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라고 한다
'Issue > Python' 카테고리의 다른 글
[Linux] gpu 실시간 사용량 확인 (2) | 2024.12.20 |
---|---|
[Python] pytrec-eval 설치 에러: Microsoft Visual C++ 14.0 or greater is required. (5) | 2024.10.21 |
[Python] Pytorch GPU 사용 확인 (1) | 2024.10.14 |
[Python] pipreqs으로 사용한 패키지만 requirements.txt에 포함 (0) | 2024.04.30 |