1. 程式人生 > >python3 -m pip install --upgrade pip

python3 -m pip install --upgrade pip

在一個系統中共存Python2、python3的時候,pip、pip2、pip3使用的時候會報錯:

c:\Python35\Scripts>pip3
Fatal error in launcher: Unable to create process using '"'

解決方法:

python3:

python3 -m pip install --upgrade pip

python2:

python2 -m pip install --upgrade pip