当我从Windows命令行运行pip install或者只是pip时,我认为它会导致死锁,按 CTRL + C
当我从Git Bash运行它时,它给了我错误
http://heasarc.gsfc.nasa.gov/FTP/swift/data/obs/2009_02//00031327004/auxil/
http://heasarc.gsfc.nasa.gov/FTP/swift/data/obs/2009_01//00031327001/uvot/
http://heasarc.gsfc.nasa.gov/FTP/swift/data/obs/2010_12//00031856009/uvot/
http://heasarc.gsfc.nasa.gov/FTP/swift/data/obs/2008_01//00031043003/uvot/
http://heasarc.gsfc.nasa.gov/FTP/swift/data/obs/2012_01//00032237004/uvot/
read
答案 0 :(得分:0)
我刚修好了。解决方案是将pip称为python模块。
pip.exe, pip3.exe, pip3.5.exe
PYTHON_PATH/Scripts
pip.bat
@echo off
call "python" -m pip %*
答案 1 :(得分:0)
根据https://pip.pypa.io/en/stable/installing/#upgrading-pip
从CMD尝试。
在Linux或OS X上:
pip install -U pip
在Windows上:
python -m pip install -U pip