- 
                            
                            [ python ] pip install -r requirements.txt - Can not execute `setup.py` since setuptools is not available in the build environment.Errors 2023. 2. 26. 20:42반응형오류Using cached html-1.13.tar.gz (6.7 kB) 
 Preparing metadata (setup.py) ... error
 error: subprocess-exited-with-error
 × python setup.py egg_info did not run successfully.
 │ exit code: 1
 ╰─> [1 lines of output]
 ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
 [end of output]
 note: This error originates from a subprocess, and is likely not a problem with pip.
 error: metadata-generation-failed
 × Encountered error while generating package metadata.
 ╰─> See above for output.
 note: This is an issue with the package mentioned above, not pip.
 hint: See above for details. (env)setuptools가 빌드 환경에서 작동하지 않기 때문에 setup.py를 실행할 수 없는 에러입니다. 다음과 같은 절차를 통해 에러를 해결하였습니다. 해결방법- pip iist를 통해 setuptools가 제대로 설치되었는지 확인합니다.
- 설치가 되어있다면 pip install --uprade setuptools 명령어를 통해 최신버전으로 업그레이드 합니다.
- 여전히 에러가 해결되지 않았다면 pip install --no-cache-dir package-name 명령어를 통해 설치해봅니다.
 반응형'Errors' 카테고리의 다른 글