python:Building wheel for pendulum (PEP 517) ... error
错误提示:
Building wheel for pendulum (PEP 517) … error
ERROR: Failed building wheel for pendulum
ERROR: Could not build wheels for pendulum which use PEP 517 and cannot be installed directly
1、先安装whl文件:
进入网站:
https://www.lfd.uci.edu/~gohlke/pythonlibs/
找到
pendulum代表库名,数字36、27、38代表版本,win32代表32位,win64代表64位,你需要先查看自己的python版本信息,如何查看可以****一下。
将whl文件下载放到一个你可以找到的目录下,我放到我的目录:
F:\software\Python\Scripts
安装whl文件,打开命令行,输入安装指令:
pip install pendulum-2.1.0-cp38-cp38-win32.whl
2、安装pendulum库
在刚刚的命令行输入指令:
pip install pendulum
安装成功!