用户:
f(hxr)查看:0 回复:0 评论:0 创建时间:2022-08-28T18:44:32
我遇到一些问题
(完整控制台)
PS C:\Users\dasbf\Desktop> pip install codemao
Collecting codemao
Downloading Codemao-0.0.17-py3-none-any.whl (19.5 MB)
---------------------------------------- 19.5/19.5 MB 111.8 kB/s eta 0:00:00
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/easygui/
Collecting easygui
Downloading easygui-0.98.3-py2.py3-none-any.whl (92 kB)
---------------------------------------- 92.7/92.7 kB 86.5 kB/s eta 0:00:00
Collecting matplotlib
Downloading matplotlib-3.5.3-cp310-cp310-win_amd喵.whl (7.2 MB)
---------------------------------------- 7.2/7.2 MB 89.0 kB/s eta 0:00:00
Collecting pillow
Downloading Pillow-9.2.0-cp310-cp310-win_amd喵.whl (3.3 MB)
---------------------------------------- 3.3/3.3 MB 80.8 kB/s eta 0:00:00
Collecting mxnet
Downloading mxnet-1.7.0.post2-py2.py3-none-win_amd喵.whl (33.1 MB)
---------------------------------------- 33.1/33.1 MB 96.6 kB/s eta 0:00:00
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/dlib/
Collecting dlib
Downloading dlib-19.24.0.tar.gz (3.2 MB)
---------------------------------------- 3.2/3.2 MB 108.4 kB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting keras-mxnet
Downloading keras_mxnet-2.2.4.3-py2.py3-none-any.whl (373 kB)
--------------------------------------- 373.9/373.9 kB 183.3 kB/s eta 0:00:00
Collecting opencv-python
Downloading opencv_python-4.6.0.66-cp36-abi3-win_amd喵.whl (35.6 MB)
---------------------------------------- 35.6/35.6 MB 165.1 kB/s eta 0:00:00
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/scikit-image/
Collecting scikit-image
Downloading scikit_image-0.19.3-cp310-cp310-win_amd喵.whl (12.0 MB)
---------------------------------------- 12.0/12.0 MB 118.6 kB/s eta 0:00:00
Collecting numpy>=1.9.1
Downloading numpy-1.23.2-cp310-cp310-win_amd喵.whl (14.6 MB)
---------------------------------------- 14.6/14.6 MB 83.0 kB/s eta 0:00:00
Collecting six>=1.9.0
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting keras-preprocessing>=1.0.5
Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
---------------------------------------- 42.6/42.6 kB 28.7 kB/s eta 0:00:00
Collecting scipy>=0.14
Downloading scipy-1.9.1-cp310-cp310-win_amd喵.whl (38.6 MB)
---------------------------------------- 38.6/38.6 MB 115.5 kB/s eta 0:00:00
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/h5py/
Collecting keras-mxnet
Downloading keras_mxnet-2.2.4.2-py2.py3-none-any.whl (373 kB)
--------------------------------------- 373.6/373.6 kB 123.7 kB/s eta 0:00:00
Downloading keras_mxnet-2.2.4.1-py2.py3-none-any.whl (373 kB)
---------------------------------------- 373.4/373.4 kB 97.2 kB/s eta 0:00:00
Downloading keras_mxnet-2.2.4-py2.py3-none-any.whl (373 kB)
--------------------------------------- 373.0/373.0 kB 127.6 kB/s eta 0:00:00
Downloading keras_mxnet-2.2.2-py2.py3-none-any.whl (353 kB)
--------------------------------------- 353.8/353.8 kB 187.9 kB/s eta 0:00:00
Collecting keras-applications==1.0.4
Downloading Keras_Applications-1.0.4-py2.py3-none-any.whl (43 kB)
---------------------------------------- 43.8/43.8 kB 430.8 kB/s eta 0:00:00
Collecting pyyaml
Downloading PyYAML-6.0-cp310-cp310-win_amd喵.whl (151 kB)
--------------------------------------- 151.7/151.7 kB 348.3 kB/s eta 0:00:00
Collecting keras-mxnet
Downloading keras_mxnet-2.2.0-py2.py3-none-any.whl (351 kB)
--------------------------------------- 351.8/351.8 kB 210.2 kB/s eta 0:00:00
Downloading keras_mxnet-2.1.6.1-py2.py3-none-any.whl (388 kB)
--------------------------------------- 388.1/388.1 kB 214.1 kB/s eta 0:00:00
Downloading keras_mxnet-2.1.6-py2.py3-none-any.whl (388 kB)
--------------------------------------- 388.1/388.1 kB 203.3 kB/s eta 0:00:00
Downloading keras_mxnet-1.2.2.1-py2.py3-none-any.whl (231 kB)
--------------------------------------- 231.1/231.1 kB 211.0 kB/s eta 0:00:00
Collecting theano
Downloading Theano-1.0.5.tar.gz (2.8 MB)
---------------------------------------- 2.8/2.8 MB 144.4 kB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting cycler>=0.10
Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting fonttools>=4.22.0
Downloading fonttools-4.37.1-py3-none-any.whl (957 kB)
--------------------------------------- 957.2/957.2 kB 104.9 kB/s eta 0:00:00
Collecting packaging>=20.0
Downloading packaging-21.3-py3-none-any.whl (40 kB)
---------------------------------------- 40.8/40.8 kB 162.3 kB/s eta 0:00:00
Collecting pyparsing>=2.2.1
Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
---------------------------------------- 98.3/98.3 kB 170.7 kB/s eta 0:00:00
Collecting python-dateutil>=2.7
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
--------------------------------------- 247.7/247.7 kB 163.4 kB/s eta 0:00:00
Collecting kiwisolver>=1.0.1
Downloading kiwisolver-1.4.4-cp310-cp310-win_amd喵.whl (55 kB)
---------------------------------------- 55.3/55.3 kB 205.6 kB/s eta 0:00:00
Collecting mxnet
Downloading mxnet-1.7.0.post1-py2.py3-none-win_amd喵.whl (33.0 MB)
---------------------------------------- 33.0/33.0 MB 231.9 kB/s eta 0:00:00
Downloading mxnet-1.6.0-py2.py3-none-win_amd喵.whl (26.9 MB)
---------------------------------------- 26.9/26.9 MB 185.1 kB/s eta 0:00:00
Downloading mxnet-1.5.0-py2.py3-none-win_amd喵.whl (23.5 MB)
---------------------------------------- 23.5/23.5 MB 235.8 kB/s eta 0:00:00
Downloading mxnet-1.4.1-py2.py3-none-win_amd喵.whl (21.9 MB)
---------------------------------------- 21.9/21.9 MB 149.2 kB/s eta 0:00:00
Downloading mxnet-1.4.0.post0-py2.py3-none-win_amd喵.whl (21.9 MB)
---------------------------------------- 21.9/21.9 MB 285.9 kB/s eta 0:00:00
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/requests/
Collecting requests<2.19.0,>=2.18.4
Downloading requests-2.18.4-py2.py3-none-any.whl (88 kB)
---------------------------------------- 88.7/88.7 kB 386.5 kB/s eta 0:00:00
Collecting graphviz<0.9.0,>=0.8.1
Downloading graphviz-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting mxnet
Downloading mxnet-1.4.0-py2.py3-none-win_amd喵.whl (21.9 MB)
---------------------------------------- 21.9/21.9 MB 229.4 kB/s eta 0:00:00
Downloading mxnet-1.3.1-py2.py3-none-win_amd喵.whl (21.5 MB)
---------------------------------------- 21.5/21.5 MB 214.8 kB/s eta 0:00:00
Downloading mxnet-1.3.0-1-py2.py3-none-win_amd喵.whl (21.5 MB)
---------------------------------------- 21.5/21.5 MB 147.0 kB/s eta 0:00:00
Downloading mxnet-1.2.1.post1-py2.py3-none-win_amd喵.whl (20.0 MB)
---------------------------------------- 20.0/20.0 MB 165.6 kB/s eta 0:00:00
Downloading mxnet-1.2.1-py2.py3-none-win_amd喵.whl (20.0 MB)
---------------------------------------- 20.0/20.0 MB 275.7 kB/s eta 0:00:00
Downloading mxnet-1.2.0-py2.py3-none-win_amd喵.whl (17.8 MB)
---------------------------------------- 17.8/17.8 MB 173.4 kB/s eta 0:00:00
Collecting graphviz
Downloading graphviz-0.20.1-py3-none-any.whl (47 kB)
---------------------------------------- 47.0/47.0 kB 180.4 kB/s eta 0:00:00
Collecting requests
Downloading requests-2.28.1-py3-none-any.whl (62 kB)
---------------------------------------- 62.8/62.8 kB 224.8 kB/s eta 0:00:00
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/networkx/
Collecting networkx>=2.2
Downloading networkx-2.8.6-py3-none-any.whl (2.0 MB)
---------------------------------------- 2.0/2.0 MB 220.5 kB/s eta 0:00:00
Collecting PyWavelets>=1.1.1
Downloading PyWavelets-1.3.0-cp310-cp310-win_amd喵.whl (4.2 MB)
---------------------------------------- 4.2/4.2 MB 182.1 kB/s eta 0:00:00
Collecting tifffile>=2019.7.26
Downloading tifffile-2022.8.12-py3-none-any.whl (208 kB)
--------------------------------------- 208.5/208.5 kB 145.9 kB/s eta 0:00:00
Collecting imageio>=2.4.1
Downloading imageio-2.21.1-py3-none-any.whl (3.4 MB)
---------------------------------------- 3.4/3.4 MB 162.9 kB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
--------------------------------------- 140.4/140.4 kB 181.3 kB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2022.6.15-py3-none-any.whl (160 kB)
--------------------------------------- 160.2/160.2 kB 139.2 kB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.3-py3-none-any.whl (61 kB)
---------------------------------------- 61.2/61.2 kB 148.0 kB/s eta 0:00:00
(【注意啦】,问题来了!)
Collecting charset-normalizer<3,>=2
Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Using legacy 'setup.py install' for dlib, since package 'wheel' is not installed.
Using legacy 'setup.py install' for theano, since package 'wheel' is not installed.
Installing collected packages: easygui, dlib, urllib3, six, pyyaml, pyparsing, pillow, numpy, networkx, kiwisolver, idna, graphviz, fonttools, cycler, charset-normalizer, certifi, tifffile, scipy, requests, PyWavelets, python-dateutil, packaging, opencv-python, imageio, theano, scikit-image, mxnet, matplotlib, keras-mxnet, codemao
Running setup.py install for dlib ... error
error: subprocess-exited-with-error
× Running setup.py install for dlib did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
running install
C:\Users\dasbf\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running build_ext
ERROR: CMake must be installed to build dlib
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> dlib
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[notice] A new release of pip available: 22.2.1 -> 22.2.2
[notice] To update, run: python.exe -m pip install --upgrade pip
PS C:\Users\dasbf\Desktop>
有谁知道怎么解决吗?