环境为anaconda,python选择3.9
上图,def仅为了可以折叠,方便观察
(simswap) C:\Windows\system32>conda install opencv
def 执行后失败:无科学上网
Retrieving notices: ...working... DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/notices.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/notices.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/notices.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C53FB90>, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/main/notices.json
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C5E6490>, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/r/notices.json
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C87F8D0>, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/msys2/notices.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/notices.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/notices.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/notices.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C894A50>, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/main/notices.json
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C894D90>, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/r/notices.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C895150>, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/msys2/notices.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/notices.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/notices.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/notices.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C896590>, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/main/notices.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C8969D0>, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/r/notices.json
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C896DD0>, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/msys2/notices.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
done
Collecting package metadata (current_repodata.json): / DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
\ DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/win-64/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D4C2A90>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/win-64/current_repodata.json
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/noarch/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D4C2E90>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/noarch/current_repodata.json
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/win-64/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/noarch/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/win-64/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/noarch/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514C530AD0>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/win-64/current_repodata.json
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D101390>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/noarch/current_repodata.json
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D100F10>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/win-64/current_repodata.json
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D101A10>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/noarch/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
/ DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/win-64/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/noarch/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/win-64/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/noarch/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/win-64/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/noarch/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
| WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D102E50>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/win-64/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
/ WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D103D90>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/noarch/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D120C50>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/win-64/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D121190>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/noarch/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D121610>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/win-64/current_repodata.json
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D121B10>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/noarch/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
- DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/win-64/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/noarch/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/win-64/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/noarch/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/win-64/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/noarch/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
- WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D123E90>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/win-64/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D128650>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/noarch/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D128E90>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/win-64/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D129690>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/noarch/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D129F90>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/win-64/current_repodata.json
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001514D12A410>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/noarch/current_repodata.json
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://repo.anaconda.com blocked, please file
a support request with your network engineering team.
'https//repo.anaconda.com/pkgs/main/win-64'
# 科学上网
(simswap) C:\Windows\system32>conda install opencv
def 执行后:最后一步失败了
Collecting package metadata (current_repodata.json): / DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
| DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/current_repodata.json HTTP/1.1" 200 None
/ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/noarch/current_repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/current_repodata.json HTTP/1.1" 304 0
- DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/win-64/current_repodata.json HTTP/1.1" 304 0
\ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/win-64/current_repodata.json HTTP/1.1" 304 0
| DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/current_repodata.json HTTP/1.1" 304 0
done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 23.7.2
latest version: 23.7.3
Please update conda by running
$ conda update -n base -c defaults conda
Or to minimize the number of packages updated during conda update use
conda install conda=23.7.3
## Package Plan ##
environment location: C:\Users\thinkcg\anaconda3\envs\simswap
added / updated specs:
- opencv
The following packages will be downloaded:
package | build
---------------------------|-----------------
eigen-3.3.7 | h59b6b97_1 831 KB
hdf5-1.12.1 | h51c971a_3 11.9 MB
krb5-1.20.1 | h5b6d351_1 786 KB
libpq-12.15 | hb652d5d_1 3.2 MB
libxml2-2.10.4 | h0ad7f3c_1 2.8 MB
libxslt-1.1.37 | h2bbff1b_1 447 KB
opencv-4.6.0 | py39ha36de5b_5 29.9 MB
qt-main-5.15.2 | h6072711_9 59.4 MB
qt-webengine-5.15.9 | h5bd16bc_7 58.1 MB
------------------------------------------------------------
Total: 167.4 MB
The following NEW packages will be INSTALLED:
eigen pkgs/main/win-64::eigen-3.3.7-h59b6b97_1
ffmpeg pkgs/main/win-64::ffmpeg-4.2.2-he774522_0
glib pkgs/main/win-64::glib-2.69.1-h5dc1a3c_2
gst-plugins-base pkgs/main/win-64::gst-plugins-base-1.18.5-h9e645db_0
gstreamer pkgs/main/win-64::gstreamer-1.18.5-hd78058f_0
hdf5 pkgs/main/win-64::hdf5-1.12.1-h51c971a_3
icc_rt pkgs/main/win-64::icc_rt-2022.1.0-h6049295_2
icu pkgs/main/win-64::icu-58.2-ha925a31_3
krb5 pkgs/main/win-64::krb5-1.20.1-h5b6d351_1
libclang pkgs/main/win-64::libclang-14.0.6-default_hb5a9fac_1
libclang13 pkgs/main/win-64::libclang13-14.0.6-default_h8e68704_1
libffi pkgs/main/win-64::libffi-3.4.4-hd77b12b_0
libiconv pkgs/main/win-64::libiconv-1.16-h2bbff1b_2
libogg pkgs/main/win-64::libogg-1.3.5-h2bbff1b_1
libpq pkgs/main/win-64::libpq-12.15-hb652d5d_1
libprotobuf pkgs/main/win-64::libprotobuf-3.20.3-h23ce68f_0
libvorbis pkgs/main/win-64::libvorbis-1.3.7-he774522_0
libxml2 pkgs/main/win-64::libxml2-2.10.4-h0ad7f3c_1
libxslt pkgs/main/win-64::libxslt-1.1.37-h2bbff1b_1
opencv pkgs/main/win-64::opencv-4.6.0-py39ha36de5b_5
pcre pkgs/main/win-64::pcre-8.45-hd77b12b_0
qt-main pkgs/main/win-64::qt-main-5.15.2-h6072711_9
qt-webengine pkgs/main/win-64::qt-webengine-5.15.9-h5bd16bc_7
qtwebkit pkgs/main/win-64::qtwebkit-5.212-h2bbfb41_5
Proceed ([y]/n)? y
Downloading and Extracting Packages
qt-webengine-5.15.9 | 58.1 MB | | 0% DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443 | 0%
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443 | 0%
libxml2-2.10.4 | 2.8 MB | | 0% D
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/qt-webengine-5.15.9-h5bd16bc_7.conda HTTP/1.1" 200 60963283 | 786 KB | | 0% D
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/opencv-4.6.0-py39ha36de5b_5.conda HTTP/1.1" 200 31336072
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/hdf5-1.12.1-h51c971a_3.conda HTTP/1.1" 200 12486857.15.2 | 59.4 MB | | 0%
qt-webengine-5.15.9 | 58.1 MB | 3 | 0% DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/libxslt-1.1.37-h2bbff1b_1.conda HTTP/1.1" 200 457852
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/libxml2-2.10.4-h0ad7f3c_1.conda HTTP/1.1" 200 2976881
qt-webengine-5.15.9 | 58.1 MB | #7 | 2% DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/krb5-1.20.1-h5b6d351_1.conda HTTP/1.1" 200 805284t-1.1.37 | 447 KB | ################################################################################ | 100%
qt-webengine-5.15.9 | 58.1 MB | ####3 | 5% DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/qt-main-5.15.2-h6072711_9.conda HTTP/1.1" 200 62316326
qt-webengine-5.15.9 | 58.1 MB | ##########1 | 13% DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/libpq-12.15-hb652d5d_1.conda HTTP/1.1" 200 331354020.1 | 786 KB | ################################################################################ | 100%
qt-webengine-5.15.9 | 58.1 MB | ###########5 | 14% DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/eigen-3.3.7-h59b6b97_1.conda HTTP/1.1" 200 851327
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/qt-webengine-5.15.9-h5bd16bc_7.conda>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
# 科学上网
(simswap) C:\Windows\system32>conda install opencv
def 执行后:成功
Collecting package metadata (current_repodata.json): / DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
\ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/win-64/current_repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/current_repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/win-64/current_repodata.json HTTP/1.1" 304 0
| DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/current_repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/noarch/current_repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/current_repodata.json HTTP/1.1" 304 0
done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 23.7.2
latest version: 23.7.3
Please update conda by running
$ conda update -n base -c defaults conda
Or to minimize the number of packages updated during conda update use
conda install conda=23.7.3
## Package Plan ##
environment location: C:\Users\thinkcg\anaconda3\envs\simswap
added / updated specs:
- opencv
The following packages will be downloaded:
package | build
---------------------------|-----------------
qt-webengine-5.15.9 | h5bd16bc_7 58.1 MB
------------------------------------------------------------
Total: 58.1 MB
The following NEW packages will be INSTALLED:
eigen pkgs/main/win-64::eigen-3.3.7-h59b6b97_1
ffmpeg pkgs/main/win-64::ffmpeg-4.2.2-he774522_0
glib pkgs/main/win-64::glib-2.69.1-h5dc1a3c_2
gst-plugins-base pkgs/main/win-64::gst-plugins-base-1.18.5-h9e645db_0
gstreamer pkgs/main/win-64::gstreamer-1.18.5-hd78058f_0
hdf5 pkgs/main/win-64::hdf5-1.12.1-h51c971a_3
icc_rt pkgs/main/win-64::icc_rt-2022.1.0-h6049295_2
icu pkgs/main/win-64::icu-58.2-ha925a31_3
krb5 pkgs/main/win-64::krb5-1.20.1-h5b6d351_1
libclang pkgs/main/win-64::libclang-14.0.6-default_hb5a9fac_1
libclang13 pkgs/main/win-64::libclang13-14.0.6-default_h8e68704_1
libffi pkgs/main/win-64::libffi-3.4.4-hd77b12b_0
libiconv pkgs/main/win-64::libiconv-1.16-h2bbff1b_2
libogg pkgs/main/win-64::libogg-1.3.5-h2bbff1b_1
libpq pkgs/main/win-64::libpq-12.15-hb652d5d_1
libprotobuf pkgs/main/win-64::libprotobuf-3.20.3-h23ce68f_0
libvorbis pkgs/main/win-64::libvorbis-1.3.7-he774522_0
libxml2 pkgs/main/win-64::libxml2-2.10.4-h0ad7f3c_1
libxslt pkgs/main/win-64::libxslt-1.1.37-h2bbff1b_1
opencv pkgs/main/win-64::opencv-4.6.0-py39ha36de5b_5
pcre pkgs/main/win-64::pcre-8.45-hd77b12b_0
qt-main pkgs/main/win-64::qt-main-5.15.2-h6072711_9
qt-webengine pkgs/main/win-64::qt-webengine-5.15.9-h5bd16bc_7
qtwebkit pkgs/main/win-64::qtwebkit-5.212-h2bbfb41_5
Proceed ([y]/n)? y
Downloading and Extracting Packages
qt-webengine-5.15.9 | 58.1 MB | | 0% DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/qt-webengine-5.15.9-h5bd16bc_7.conda HTTP/1.1" 200 60963283
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
# end