python 3.7.2 安装 pycurl 遇到的坑
python 3.7.2 安装 pycurl,一直报如下错误:
Requirement 'D:\\pycurl‑7.43.1‑cp37‑cp37m‑win_amd64.whl' looks like a filename, but the file does not exist
pycurl‑7.43.1‑cp37‑cp37m‑win_amd64.whl is not a valid wheel filename.
解决方法:
1)到 https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl 找到对应版本,并下载到本地:
例如:python 3.7.2 我对应的版本如下图:
2、通过 pip 安装 下载到本地的文件
pip install D:\pycurl-7.43.1-cp37-cp37m-win_amd64.whl
注意:install 是你下载的 pycurl(例如:我这里就是:D:\pycurl-7.43.1-cp37-cp37m-win_amd64.whl)的本地路径)
参考:https://www.cnblogs.com/kerbside/p/9630388.html
Read the fucking manual and source code