반응형

Python, 'wheel' package is not installed 오류 해별방법

안녕하세요.

즐거운 우리집 (https://joyfulhome.tistory.com/) 입니다.

 

오늘은,

'wheel' package is not installed. 

A possible replacement is to enable the '--use-pep517' option.

의 오류를 맞딱뜨렸을때 해결하는 방법에 대해서 알아보겠습니다.

 

Python 사용시 오래된 패키지로 설치를 하고 있으며, wheel 패키지도 설치가 되어 있지 않다고 알려주는 것입니다.

--use-pep517 옵션을 사용할 수 있다고 알려주고 있네요.

 

이럴때는 아래처럼 하면 해결이 가능합니다.

 

 

반응형

 

 

오류내용

DEPRECATION: PyTweening is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. 
pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559

 

해결방법

pip install wheel

 

사용방법

> pip install wheel
Collecting wheel 
   Downloading wheel-0.40.0-py3-none-any.whl (64 kB)
   ---------------------------------------- 64.5/64.5 kB 3.4 MB/s eta 0:00:00
Installing collected package: wheel
Successfully installed wheel-0.40.0

 

이미 설치가 되어 있을 경우에는 아래와 같이 표시 됩니다.

> pip install wheel
Requirement already satisfied: wheel in c:\program files (x86)\python37-32\lib\site-packages (0.40.0)

 

오늘도 즐거운 오류의 해결을 해 보았습니다.

발생하는 오류는 우리를 깜짝 놀라게 하지만, 

또 이런 오류를 고쳐 나가는 것도 우리의 즐거움 아니겠습니까? ^^

 

 

그럼 오늘도 즐거운 하루 되세요~ ^^

 

반응형