반응형
안녕하세요.
즐거운 우리집 (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) |
오늘도 즐거운 오류의 해결을 해 보았습니다.
발생하는 오류는 우리를 깜짝 놀라게 하지만,
또 이런 오류를 고쳐 나가는 것도 우리의 즐거움 아니겠습니까? ^^
그럼 오늘도 즐거운 하루 되세요~ ^^
반응형
'Development > Python' 카테고리의 다른 글
[Python] 파이썬에서 오늘이 무슨 요일인지 확인하는 방법 - datetime (98) | 2022.06.30 |
---|---|
[Python] 파이썬에서 오늘의 날짜 및 시간 확인하는 방법 - datetime (52) | 2022.06.29 |
[Python] 파이썬 설치하기 - 윈도우즈 (Windows ) (54) | 2022.06.07 |
[오류해결] ModuleNotFoundError: No module named 'xlsxwriter' (50) | 2022.02.08 |
[오류해결] ModuleNotFoundError: No module named 'pandas' (66) | 2022.02.05 |