[Python] Could not build wheels for pynacl, bcrypt which use PEP 517 and cannot be installed directly 해결

2022. 4. 12. 22:52

발생

paramiko를 설치하던 중 다음과 같은 오류가 발생했다.

Could not build wheels for pynacl, bcrypt which use PEP 517 and cannot be installed directly

pep 517을 사용하면서 직접 설치할 수 없는 휠을 만들 수 없다고 한다.

해결

ERROR: Could not build wheels for bcrypt which use PEP 517 and cannot be installed directly

python -m pip install --upgrade pip
python -m pip install --no-use-pep517 bcrypt, pynacl

다음과 같이 입력하면 될 줄 알았지만 pip 업그레이드만으로 해결되었다.

다음에 이런 일이 일어나면 pip 먼저 업그레이드 해봐야겠다.

BELATED ARTICLES

more