2
我已經在python 3.4.2中安裝了Python 3.5.4。 調用PIP與Python 3.4優良工程,即:Pip3.5指向Python 3.5安裝後的舊Python 3.4.2
>>pip3.4
>>py -3.4 -m pip
試圖使用Python 3.5版本PIP的(我已經選中了安裝過程中安裝)有:
>>pip
>>python -m pip
>>py -3.5 -m pip
所有鉛到此錯誤:
Could not import runpy module
Traceback (most recent call last):
File "C:\Python34\Lib\runpy.py", line 14, in <module>
import importlib.machinery # importlib first so we can test #15386 via -m
File "C:\Python34\Lib\importlib\__init__.py", line 34, in <module>
_w_long = _bootstrap._w_long
AttributeError: module 'importlib._bootstrap' has no attribute '_w_long'
這是在Windows 7 64位PC上。我不知道爲什麼專門調用python 3.5版本的pip使它能夠像在「C:\ Python3.4」中一樣訪問python 3.4的目錄。幫幫我?
是的,python已經在我的PATH變量上。 – AstralWolf