Python2與Python3共存
安裝Python3后,建立ln,使用Python(Python2),Python3 來區分兩個版本
使用sudo apt-get install python3-setuptools 安裝Easy_install
再使用sudo easy_install3 pip 安裝Pip
區分:
Pip 對應Python2
Pip3 對應Python3
Easy_Install 對應Python2
Easy_Install3 對應Python2
Python2與Python3共存
安裝Python3后,建立ln,使用Python(Python2),Python3 來區分兩個版本
使用sudo apt-get install python3-setuptools 安裝Easy_install
再使用sudo easy_install3 pip 安裝Pip
區分:
Pip 對應Python2
Pip3 對應Python3
Easy_Install 對應Python2
Easy_Install3 對應Python2
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。