美文网首页
使用pycharm安装第三方库Py2neo出错None-Zero

使用pycharm安装第三方库Py2neo出错None-Zero

作者: gospel303 | 来源:发表于2020-06-07 03:38 被阅读0次

2020-06-07

今天换了新买的电脑,把旧电脑的程序文件都转移过来。使用新电脑上的pycharm安装第三方库Py2neo时,出现错误None-Zero exit code(1),Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'C:\Users\Administrator\PycharmProjects\untitled\venv\Scripts\python.exe'.
最后通过换源解决了,这个py2neo最后用清华的源装成功了。

参考以下帖子解决了问题:
参考贴1:pycharm 安装模块 use the correct version of 'pip' installed for your Python interpreter  https://www.cnblogs.com/emanlee/p/12357830.html
参考贴2:python Pycharm 更换pip源为国内站点,加速访问https://blog.csdn.net/kucoll/article/details/79155128

具体操作如下:

在pycharm中使用file -> setting ->project interpreter 的方式安装package时

参考贴1使用pycharm安装第三方库

出现错误None-Zero exit code(1)

参考贴1出错信息

此时在Manage Repositories换源一般即可解决

参考贴1换源

参照帖子2:https://blog.csdn.net/kucoll/article/details/79155128添加豆瓣/阿里/清华的源

http://pypi.douban.com/simple/
http://mirrors.aliyun.com/pypi/simple/
https://pypi.tuna.tsinghua.edu.cn/simple/

参考帖2修改源

修改后再安装包就有三个源的包可供选择,总有一个能够装上。这个py2neo就是使用清华的源装上的。

相关文章

网友评论

      本文标题:使用pycharm安装第三方库Py2neo出错None-Zero

      本文链接:https://www.haomeiwen.com/subject/oosqtktx.html