1. 程式人生 > >[py2neo]Ubuntu14 安裝py2neo失敗問題解決

[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