python3.6升级到 3.8后pip install 不能使用问题

C:>pip install opencv-python
Fatal error in launcher: Unable to create process using ‘“C:\Users\zhudan\appdata\local\programs\python\python36\python.exe” “C:\Users\zhudan\AppData\Local\Programs\Python\Python36\Scripts\pip.exe” install opencv-python’

C:>

C:\Users\zhudan\AppData\Local\Programs\Python\Python38\Scripts>pip install opencv-python
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError(, ‘Connection to pypi.tuna.tsinghua.edu.cn timed out. (connect timeout=15)’)’: /simple/opencv-python/
Collecting opencv-python
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5c/6c/cdf7b1ad23d29262a8af85e1d6154ad71ce0085ea1b09c355eb13046d92e/opencv_python-4.4.0.42-cp38-cp38-win_amd64.whl (33.5 MB)
|████████████████████████████████| 33.5 MB 2.2 MB/s
Requirement already satisfied: numpy>=1.17.3 in C:\Users\zhudan\appdata\local\programs\python\python38\lib\site-packages (from opencv-python) (1.19.1)
Installing collected packages: opencv-python
Successfully installed opencv-python-4.4.0.42

C:\Users\zhudan\AppData\Local\Programs\Python\Python38\Scripts>

你可能感兴趣的:(python)