Pip3.5指向Python 3.5安装后的旧Python 3.4.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