import sys sys.path.append("C:\python3\Scripts") print(sys.path) ------------------結果: ['D:\\.........., 'C:\\python3\\Scripts']
pip install xlrdpython
-----------結果:app
Fatal error in launcher: Unable to create process using '"d:\python3.6\python.exe" "D:\python3.6\Scripts\pip.exe" install xlrd'
解決方法:執行以下命令,從新安裝pip,若是pip沒問題就會更新
python3 -m pip install --upgrade pipspa
若是執行完後還不行,關閉cmd再開。code