[py2neo]Ubuntu14 安装py2neo失败问题解决

环境

1.操作系统Ubuntu14 

2.py2neo版本4.1

3.python版本python3.4

问题

pip install py2neo==4.1  安装失败,提示:

Cannot uninstall 'urllib3'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

解决

urllib3旧版本依赖多,不能清晰的删除,此时应该忽略旧版本升级,即如下

sudo pip install urllib3 --ignore-installed urllib3

猜你喜欢

转载自www.cnblogs.com/skyell/p/9882861.html