在ubuntu 14.04 安裝jupyter的時(shí)候一直報(bào)錯(cuò):
Cannot uninstall 'six'. 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.
具體原因如下:
jupyter依賴six這個(gè)包,但是系統(tǒng)也依賴了這個(gè)包谅将,如果下載新的就必須卸載舊版本的,但是系統(tǒng)又依賴于舊版本,所以就沒(méi)有辦法卸載风喇,最終導(dǎo)致報(bào)錯(cuò)。
感謝窮開心y的分析
最終解決方法如下缕探,在安裝的時(shí)候忽略six:
sudo python3 -m pip install -U jupyter --ignore-installed six