您好我正在尝试在Windows上安装Pip for Python3.2。首先,我从以下站点下载了Python 3.2的get-pip文件:
https://pip.pypa.io/en/stable/installing/
然后具体来自以下部分:
"对于现在不受支持的Python 3.2,可以使用备用脚本。"
一旦禁用了几个防火墙,可执行文件easy_install,easy_install-3.2,pip,pip3.2,pip3和wheel安装在:
C:\ python32 \脚本
但是,当我尝试在命令行中运行任何这些可执行文件时,我收到以下错误:
python 3 exists! Storing in local variable..
path installed is c:\python32
Try to install pip now for python 3...
Now try and install something...
Traceback (most recent call last):
File "c:\python32\lib\runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python32\lib\runpy.py", line 73, in _run_code
exec(code, run_globals)
File "c:\python32\scripts\easy_install.exe\__main__.py", line 5, in <module>
ImportError: No module named setuptools.command.easy_install
Traceback (most recent call last):
File "c:\python32\lib\runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python32\lib\runpy.py", line 73, in _run_code
exec(code, run_globals)
File "c:\python32\scripts\easy_install-3.2.exe\__main__.py", line 5, in <modul
e>
ImportError: No module named setuptools.command.easy_install
Traceback (most recent call last):
File "c:\python32\lib\runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python32\lib\runpy.py", line 73, in _run_code
exec(code, run_globals)
File "c:\python32\scripts\wheel.exe\__main__.py", line 5, in <module>
ImportError: No module named wheel.tool
Traceback (most recent call last):
File "c:\python32\lib\runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python32\lib\runpy.py", line 73, in _run_code
exec(code, run_globals)
File "c:\python32\scripts\pip.exe\__main__.py", line 5, in <module>
ImportError: No module named pip
Traceback (most recent call last):
File "c:\python32\lib\runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python32\lib\runpy.py", line 73, in _run_code
exec(code, run_globals)
File "c:\python32\scripts\pip3.exe\__main__.py", line 5, in <module>
ImportError: No module named pip
Traceback (most recent call last):
File "c:\python32\lib\runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python32\lib\runpy.py", line 73, in _run_code
exec(code, run_globals)
File "c:\python32\scripts\pip3.2.exe\__main__.py", line 5, in <module>
ImportError: No module named pip
Press any key to continue . . .
任何洞察这意味着什么以及如何解决并让Python32识别pip都会很棒。顺便说一下,我也在同一台机器上安装了Python27 ......这会影响到什么吗?
谢谢