linux下,Python 多版本共存,及Pip,Easy_install 安裝擴展包


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刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM