赞
踩
pip install git+https://github.com/xxx/xxx
如果想通过git+https这种方式安装,可以参考官方文档。pip documentation 下面是官网的截图,可以看出其实官方是不推荐使用这种方式安装的。
fatal: unable to access ‘https://github.com/xxx/xxx’: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
错误:不能正确访问"https://github.com/xxx/xxx
",TLS 被终止。
note:This error originates from a subprocess, and is likely not a problem with pip.
笔记:这个错误源资源子进程,可能不是pip的问题。
推测:可能是下载出了问题,使用git clone 下载或者直接download下载到本地
然后进去该文件目录下,找到setup.py文件,在该目录下执行,即可解决错误。
git clone https://github.com/xxx/xxx.git
# 克隆项目
cd DeepPurpose
# 切换目录
python setup.py install
# 从源项目有构建
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。