pip install cysignals
pip install pyfasttext
报错:
Building wheels for collected packages: cysignals
Building wheel for cysignals (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'F:\anaconda\envs\akg\python.exe' 'F:\anaconda\envs\akg\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\SHENXI~1\AppData\Local\Temp\tmpz9fxh87s'
cwd: C:\Users\SHENXI~1\AppData\Local\Temp\pip-install-rf7e994x\cysignals_68cbaa6636324911a4ae5402e2bccaee
Complete output (5 lines):
running bdist_wheel
running build
running build_py
running configure
error: [WinError 2] 系统找不到指定的文件。
----------------------------------------
ERROR: Failed building wheel for cysignals
Failed to build cysignals
ERROR: Could not build wheels for cysignals which use PEP 517 and cannot be installed directly
?Archived: Python Extension Packages for Windows - Christoph Gohlke (uci.edu)
在这个网站ctrl f 搜索 fasttext。安装自己电脑对应版本的fasttext(我的是64位windows电脑+python3.6)
?然后进行离线安装(需要numpy的环境,如图)
报错?(应该是我网络的问题):
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
?解决方法: 提前安装好numpy环境
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy==1.19.5
最后,离线手动安装fasttext-0.9.2:
pip install fasttext-0.9.2-cp36-cp36m-win_amd64.whl
安装成功。
tips:
是 from fasttext import FastText 而不是 from pyfasttext import FastText
真的是一波三折,官网给的方法不好用,废了好多时间。最后还是要用离线手动安装。?
pip install py2neo==4.1.0
失败。
?
pip install py2neo
直接安装的就是 py2neo==4.1.0版本