There have been problems
- ERROR: Failed building wheel for numpy
- After downloading the whl file, an error is reported ERROR: numpy-1.22.4+mkl-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
A comprehensive solution to multiple blogs:
1. 使用pip debug --verbose 命令即可看 pip 支持
在compatible tags中查看pip支持的版本
然后在https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta官网中下载对应的轮子
将下载的轮子存储在python所在的Scripts文件中
然后在vscode终端输入pip install numpy -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
I finally succeeded according to the above steps. I
stepped on the thunder
and directly pip install the wheel file (❌)
Use the pip._internal command to view the supported version (❌)
Good luck! come on!
Fear itself is the most terrible thing, but nothing is terrible. — To Kill a Mockingbird