我不明白为什么pip没有与python一起安装(我在installer中有一个复选标记)。在
py -m pip返回no module named pip
我已经将Windows7、Python3.7.4安装到c:\python。在
但是,当我尝试用get-pip.py安装pip时,我得到:C:\Python>python get-pip.py
Traceback (most recent call last):
File "get-pip.py", line 22308, in
main()
File "get-pip.py", line 197, in main
bootstrap(tmpdir=tmpdir)
File "get-pip.py", line 82, in bootstrap
import pip._internal
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in _load_backward_compatible
File "C:\Temp\tmpx8wd2cnb\pip.zip\pip\_internal\__init__.py", line 40, in
ule>
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in _load_backward_compatible
many same errors (cant posted all of it here)
File "", line 668, in _load_unlocked
File "", line 638, in _load_backward_compatible
File "C:\Temp\tmpx8wd2cnb\pip.zip\pip\_vendor\requests\compat.py", line 64, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 859, in get_code
File "", line 917, in get_data
OSError: [Errno 9] Bad file descriptor
感谢您的回答。在