• 记一次opencv安装过程


    环境为anaconda,python选择3.9

    上图,def仅为了可以折叠,方便观察

    1. (simswap) C:\Windows\system32>conda install opencv
    2. def 执行后失败:无科学上网
    3. Retrieving notices: ...working... DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    4. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    5. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    6. DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/notices.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
    7. DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/notices.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
    8. DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/notices.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
    9. WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/main/notices.json
    10. WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/r/notices.json
    11. WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/msys2/notices.json
    12. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
    13. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
    14. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
    15. DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/notices.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
    16. DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/notices.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
    17. DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/notices.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
    18. WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/main/notices.json
    19. WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/r/notices.json
    20. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
    21. WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/msys2/notices.json
    22. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
    23. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
    24. DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/main/notices.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
    25. DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/r/notices.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
    26. DEBUG:urllib3.util.retry:Incremented Retry for (url='/pkgs/msys2/notices.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
    27. WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/main/notices.json
    28. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
    29. WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/r/notices.json
    30. WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=5)')': /pkgs/msys2/notices.json
    31. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
    32. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
    33. done
    34. Collecting package metadata (current_repodata.json): / DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    35. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    36. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    37. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    38. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    39. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    40. \ 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)
    41. WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/win-64/current_repodata.json
    42. 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)
    43. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
    44. WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/noarch/current_repodata.json
    45. 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)
    46. 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)
    47. 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)
    48. 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)
    49. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
    50. WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/win-64/current_repodata.json
    51. WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/noarch/current_repodata.json
    52. WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/win-64/current_repodata.json
    53. WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/noarch/current_repodata.json
    54. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
    55. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
    56. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
    57. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (2): repo.anaconda.com:443
    58. / 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)
    59. 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)
    60. 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)
    61. 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)
    62. 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)
    63. 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)
    64. | WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/win-64/current_repodata.json
    65. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
    66. / WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/noarch/current_repodata.json
    67. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
    68. WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/win-64/current_repodata.json
    69. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
    70. WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/noarch/current_repodata.json
    71. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
    72. WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/win-64/current_repodata.json
    73. WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/noarch/current_repodata.json
    74. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
    75. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (3): repo.anaconda.com:443
    76. - 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)
    77. 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)
    78. 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)
    79. 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)
    80. 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)
    81. 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)
    82. - WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/win-64/current_repodata.json
    83. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
    84. WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/noarch/current_repodata.json
    85. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
    86. WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/main/win-64/current_repodata.json
    87. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
    88. WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/noarch/current_repodata.json
    89. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
    90. WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/msys2/win-64/current_repodata.json
    91. WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)')': /pkgs/r/noarch/current_repodata.json
    92. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
    93. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (4): repo.anaconda.com:443
    94. failed
    95. CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
    96. Elapsed: -
    97. An HTTP error occurred when trying to retrieve this URL.
    98. HTTP errors are often intermittent, and a simple retry will get you on your way.
    99. If your current network has https://repo.anaconda.com blocked, please file
    100. a support request with your network engineering team.
    101. 'https//repo.anaconda.com/pkgs/main/win-64'
    102. # 科学上网
    103. (simswap) C:\Windows\system32>conda install opencv
    104. def 执行后:最后一步失败了
    105. Collecting package metadata (current_repodata.json): / DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    106. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    107. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    108. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    109. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    110. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    111. | DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/current_repodata.json HTTP/1.1" 200 None
    112. / DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/noarch/current_repodata.json HTTP/1.1" 304 0
    113. DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/current_repodata.json HTTP/1.1" 304 0
    114. - DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/win-64/current_repodata.json HTTP/1.1" 304 0
    115. \ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/win-64/current_repodata.json HTTP/1.1" 304 0
    116. | DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/current_repodata.json HTTP/1.1" 304 0
    117. done
    118. Solving environment: done
    119. ==> WARNING: A newer version of conda exists. <==
    120. current version: 23.7.2
    121. latest version: 23.7.3
    122. Please update conda by running
    123. $ conda update -n base -c defaults conda
    124. Or to minimize the number of packages updated during conda update use
    125. conda install conda=23.7.3
    126. ## Package Plan ##
    127. environment location: C:\Users\thinkcg\anaconda3\envs\simswap
    128. added / updated specs:
    129. - opencv
    130. The following packages will be downloaded:
    131. package | build
    132. ---------------------------|-----------------
    133. eigen-3.3.7 | h59b6b97_1 831 KB
    134. hdf5-1.12.1 | h51c971a_3 11.9 MB
    135. krb5-1.20.1 | h5b6d351_1 786 KB
    136. libpq-12.15 | hb652d5d_1 3.2 MB
    137. libxml2-2.10.4 | h0ad7f3c_1 2.8 MB
    138. libxslt-1.1.37 | h2bbff1b_1 447 KB
    139. opencv-4.6.0 | py39ha36de5b_5 29.9 MB
    140. qt-main-5.15.2 | h6072711_9 59.4 MB
    141. qt-webengine-5.15.9 | h5bd16bc_7 58.1 MB
    142. ------------------------------------------------------------
    143. Total: 167.4 MB
    144. The following NEW packages will be INSTALLED:
    145. eigen pkgs/main/win-64::eigen-3.3.7-h59b6b97_1
    146. ffmpeg pkgs/main/win-64::ffmpeg-4.2.2-he774522_0
    147. glib pkgs/main/win-64::glib-2.69.1-h5dc1a3c_2
    148. gst-plugins-base pkgs/main/win-64::gst-plugins-base-1.18.5-h9e645db_0
    149. gstreamer pkgs/main/win-64::gstreamer-1.18.5-hd78058f_0
    150. hdf5 pkgs/main/win-64::hdf5-1.12.1-h51c971a_3
    151. icc_rt pkgs/main/win-64::icc_rt-2022.1.0-h6049295_2
    152. icu pkgs/main/win-64::icu-58.2-ha925a31_3
    153. krb5 pkgs/main/win-64::krb5-1.20.1-h5b6d351_1
    154. libclang pkgs/main/win-64::libclang-14.0.6-default_hb5a9fac_1
    155. libclang13 pkgs/main/win-64::libclang13-14.0.6-default_h8e68704_1
    156. libffi pkgs/main/win-64::libffi-3.4.4-hd77b12b_0
    157. libiconv pkgs/main/win-64::libiconv-1.16-h2bbff1b_2
    158. libogg pkgs/main/win-64::libogg-1.3.5-h2bbff1b_1
    159. libpq pkgs/main/win-64::libpq-12.15-hb652d5d_1
    160. libprotobuf pkgs/main/win-64::libprotobuf-3.20.3-h23ce68f_0
    161. libvorbis pkgs/main/win-64::libvorbis-1.3.7-he774522_0
    162. libxml2 pkgs/main/win-64::libxml2-2.10.4-h0ad7f3c_1
    163. libxslt pkgs/main/win-64::libxslt-1.1.37-h2bbff1b_1
    164. opencv pkgs/main/win-64::opencv-4.6.0-py39ha36de5b_5
    165. pcre pkgs/main/win-64::pcre-8.45-hd77b12b_0
    166. qt-main pkgs/main/win-64::qt-main-5.15.2-h6072711_9
    167. qt-webengine pkgs/main/win-64::qt-webengine-5.15.9-h5bd16bc_7
    168. qtwebkit pkgs/main/win-64::qtwebkit-5.212-h2bbfb41_5
    169. Proceed ([y]/n)? y
    170. Downloading and Extracting Packages
    171. qt-webengine-5.15.9 | 58.1 MB | | 0% DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443 | 0%
    172. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443 | 0%
    173. libxml2-2.10.4 | 2.8 MB | | 0% D
    174. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    175. 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
    176. 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
    177. 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%
    178. 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
    179. 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
    180. 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%
    181. 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
    182. 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%
    183. 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
    184. CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/qt-webengine-5.15.9-h5bd16bc_7.conda>
    185. Elapsed: -
    186. An HTTP error occurred when trying to retrieve this URL.
    187. HTTP errors are often intermittent, and a simple retry will get you on your way.
    188. # 科学上网
    189. (simswap) C:\Windows\system32>conda install opencv
    190. def 执行后:成功
    191. Collecting package metadata (current_repodata.json): / DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    192. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    193. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    194. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    195. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    196. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    197. \ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/win-64/current_repodata.json HTTP/1.1" 304 0
    198. DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/current_repodata.json HTTP/1.1" 304 0
    199. DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/win-64/current_repodata.json HTTP/1.1" 304 0
    200. | DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/current_repodata.json HTTP/1.1" 304 0
    201. DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/noarch/current_repodata.json HTTP/1.1" 304 0
    202. DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/current_repodata.json HTTP/1.1" 304 0
    203. done
    204. Solving environment: done
    205. ==> WARNING: A newer version of conda exists. <==
    206. current version: 23.7.2
    207. latest version: 23.7.3
    208. Please update conda by running
    209. $ conda update -n base -c defaults conda
    210. Or to minimize the number of packages updated during conda update use
    211. conda install conda=23.7.3
    212. ## Package Plan ##
    213. environment location: C:\Users\thinkcg\anaconda3\envs\simswap
    214. added / updated specs:
    215. - opencv
    216. The following packages will be downloaded:
    217. package | build
    218. ---------------------------|-----------------
    219. qt-webengine-5.15.9 | h5bd16bc_7 58.1 MB
    220. ------------------------------------------------------------
    221. Total: 58.1 MB
    222. The following NEW packages will be INSTALLED:
    223. eigen pkgs/main/win-64::eigen-3.3.7-h59b6b97_1
    224. ffmpeg pkgs/main/win-64::ffmpeg-4.2.2-he774522_0
    225. glib pkgs/main/win-64::glib-2.69.1-h5dc1a3c_2
    226. gst-plugins-base pkgs/main/win-64::gst-plugins-base-1.18.5-h9e645db_0
    227. gstreamer pkgs/main/win-64::gstreamer-1.18.5-hd78058f_0
    228. hdf5 pkgs/main/win-64::hdf5-1.12.1-h51c971a_3
    229. icc_rt pkgs/main/win-64::icc_rt-2022.1.0-h6049295_2
    230. icu pkgs/main/win-64::icu-58.2-ha925a31_3
    231. krb5 pkgs/main/win-64::krb5-1.20.1-h5b6d351_1
    232. libclang pkgs/main/win-64::libclang-14.0.6-default_hb5a9fac_1
    233. libclang13 pkgs/main/win-64::libclang13-14.0.6-default_h8e68704_1
    234. libffi pkgs/main/win-64::libffi-3.4.4-hd77b12b_0
    235. libiconv pkgs/main/win-64::libiconv-1.16-h2bbff1b_2
    236. libogg pkgs/main/win-64::libogg-1.3.5-h2bbff1b_1
    237. libpq pkgs/main/win-64::libpq-12.15-hb652d5d_1
    238. libprotobuf pkgs/main/win-64::libprotobuf-3.20.3-h23ce68f_0
    239. libvorbis pkgs/main/win-64::libvorbis-1.3.7-he774522_0
    240. libxml2 pkgs/main/win-64::libxml2-2.10.4-h0ad7f3c_1
    241. libxslt pkgs/main/win-64::libxslt-1.1.37-h2bbff1b_1
    242. opencv pkgs/main/win-64::opencv-4.6.0-py39ha36de5b_5
    243. pcre pkgs/main/win-64::pcre-8.45-hd77b12b_0
    244. qt-main pkgs/main/win-64::qt-main-5.15.2-h6072711_9
    245. qt-webengine pkgs/main/win-64::qt-webengine-5.15.9-h5bd16bc_7
    246. qtwebkit pkgs/main/win-64::qtwebkit-5.212-h2bbfb41_5
    247. Proceed ([y]/n)? y
    248. Downloading and Extracting Packages
    249. qt-webengine-5.15.9 | 58.1 MB | | 0% DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
    250. 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
    251. Preparing transaction: done
    252. Verifying transaction: done
    253. Executing transaction: done
    254. # end

  • 相关阅读:
    Android 10.0 Settings 去掉打开开发者模式和USB调试模式的广播
    面向对象-05-06-构造方法,标准的 javabean 类
    朴素贝叶斯分类器 #数据挖掘 #Python
    Java是如何制作月饼的——制作、下单和售卖
    搭建自己的搜索引擎之二
    Navicat平替工具,一款免费开源的通用数据库工具
    Element 2 组件源码剖析之布局容器
    PHP 包含文件
    4.2 实现基于栈的表达式求值计算器(难度4/10)
    Chrome开发自定义右键菜单实现快速跳转到指定页面
  • 原文地址:https://blog.csdn.net/thinkcg/article/details/132767590