记一次opencv安装过程

news2024/11/24 17:35:58

环境为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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/989385.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

高频golang面试题:简单聊聊内存逃逸?

文章目录 问题怎么答举例 问题 知道golang的内存逃逸吗&#xff1f;什么情况下会发生内存逃逸&#xff1f; 怎么答 golang程序变量会携带有一组校验数据&#xff0c;用来证明它的整个生命周期是否在运行时完全可知。如果变量通过了这些校验&#xff0c;它就可以在栈上分配。…

了解 Java 并发编程中的 volatile 关键字

&#x1f60a; 作者&#xff1a; 一恍过去 &#x1f496; 主页&#xff1a; https://blog.csdn.net/zhuocailing3390 &#x1f38a; 社区&#xff1a; Java技术栈交流 &#x1f389; 主题&#xff1a; 了解 Java 并发编程中的 volatile 关键字 ⏱️ 创作时间&#xff1a; …

[NLP]LLM---FineTune自己的Llama2模型

一 数据集准备 Let’s talk a bit about the parameters we can tune here. First, we want to load a llama-2-7b-hf model and train it on the mlabonne/guanaco-llama2-1k (1,000 samples), which will produce our fine-tuned model llama-2-7b-miniguanaco. If you’re …

5分钟生成10条短视频,AI重构电商营销

点击关注 文&#xff5c;姚 悦&#xff0c;编&#xff5c;王一粟 “我们将正式告别过去单一渠道投放的时代&#xff0c;走向一站式跨渠道品效联合经营的全新时代。”9月6日&#xff0c;在2023年其最重要的营销峰会上&#xff0c;淘天集团阿里妈妈市场部总经理穆尔说道。 当天…

【C++】模拟实现二叉搜索树的增删查改功能

个人主页&#xff1a;&#x1f35d;在肯德基吃麻辣烫 我的gitee&#xff1a;C仓库 个人专栏&#xff1a;C专栏 文章目录 一、二叉搜索树的Insert操作&#xff08;非递归&#xff09;分析过程代码求解 二、二叉搜索树的Erase操作&#xff08;非递归&#xff09;分析过程代码求解…

java从入门到起飞(八)——循环和递归

文章目录 Java循环1. 什么是循环&#xff1f;1.1 为什么需要循环&#xff1f;1.2 循环的分类 2. Java中的循环结构2.1 for循环2.2 while循环2.3 do-while循环 3. 循环控制语句3.1 break语句3.2 continue语句 4. 总结 Java递归1. 什么是递归2. 递归的原理3. 递归的实现4. 递归的…

鼠标右键使用VSCode打开文件或文件夹配置

天行健&#xff0c;君子以自强不息&#xff1b;地势坤&#xff0c;君子以厚德载物。 每个人都有惰性&#xff0c;但不断学习是好好生活的根本&#xff0c;共勉&#xff01; 文章均为学习整理笔记&#xff0c;分享记录为主&#xff0c;如有错误请指正&#xff0c;共同学习进步。…

算法通关村17关 | 透析跳跃游戏

1. 跳跃游戏 题目 LeetCode55 给定一个非负整数数组&#xff0c;最初位于数组的第一个位置&#xff0c;数组中的每个元素代表你再该位置可以跳跃的最大长度&#xff0c;判断你是否能够达到最后一个位置。 思路 如果当前位置元素如果是3&#xff0c;我们无需考虑是跳几步&#…

04、javascript 修改对象中原有的属性值、修改对象中原有属性的名字(两种方式)、添加对象中新属性等的操作

1、修改对象中原有的属性值 其一、代码为&#xff1a; // 想将 obj 中的 flag 值&#xff0c;根据不同的值来变化(即&#xff1a;修改对象中原有的属性值)&#xff1b; let obj {"port": "port_0","desc": "desc_0","flag&quo…

【LeetCode】一起探究三数之和的奥秘

Problem: 15. 三数之和 文章目录 题目解析算法原理分析排序 暴力枚举 set去重排序 单调性 双指针划分思想 复杂度Code 题目解析 首先我们来分析一下本题的思路 题目说到要我们在一个整数数组中去寻找三元组&#xff0c;而且呢这三个数字所相加的和为0&#xff0c;而且呢这三…

数据复制:构建大规模分布式系统的关键组成部分

数据复制对于构建可靠的大规模分布式系统至关重要。在本期中&#xff0c;我们将探讨常见的复制策略以及选择合适策略的关键因素。 在本期中&#xff0c;我们将以数据库为例进行讨论。请注意&#xff0c;复制不仅适用于数据库&#xff0c;还适用于缓存服务器&#xff08;如Redis…

探索Apache Hive:融合专业性、趣味性和吸引力的数据库操作奇幻之旅

文章目录 版权声明一 数据库操作二 Hive数据表操作2.1 表操作语法和数据类型2.2 Hive表分类2.3 内部表Vs外部表2.4 内部表操作2.4.1 创建内部表2.4.2 其他创建内部表的形式2.4.3 数据分隔符2.4.4 自定义分隔符2.4.5 删除内部表 2.5 外部表操作2.5.1 创建外部表2.5.2 操作演示2.…

BMS电池管理系统——电芯需求数据(三)

BMS电池管理系统 文章目录 BMS电池管理系统前言一、有什么基础数据二、基础数据分析1.充放电的截至电压2.SOC-OCV关系表3.充放电电流限制表4.充放电容量特性5.自放电率 总结 前言 在新能源产业中电芯的开发也占有很大部分&#xff0c;下面我们就来看一下电芯的需求数据有哪些 …

知名农业企业-九三食品选择泛微京桥通构建全程数字化采购管理

九三食品股份有限公司是北大荒集团旗下九三粮油工业集团有限公司的控股子公司&#xff0c;作为九三集团大豆精深加工生产及研发基地&#xff0c;九三食品公司可生产非转基因“九三”牌大豆油等植物油、食品添加剂、胶囊保健品、精油类产品、食用豆粕、豆饼粉和其它产品等七大类…

yo!这里是进程控制

目录 前言 进程创建 fork()函数 写时拷贝 进程终止 退出场景 退出方法 进程等待 等待原因 等待方法 1.wait函数 2.waitpid函数 等待结果&#xff08;status介绍&#xff09; 进程替换 替换原理 替换函数 进程替换例子 shell简易实现 后记 前言 学习完操作…

【更新至2022年】2000-2022年全国31省市以2000年为基期的实际GDP、名义GDP、GDP平减指数数据(含原始数据+计算过程+计算结果)

2000-2022年31省市名义GDP 实际GDP GDP平减指数 1、时间&#xff1a;2000-2022 2、范围&#xff1a;31省市 3、来源&#xff1a;GJ统计J和统计NJ 4、指标&#xff1a;名义GDP、地区生产总值指数&#xff08;上年100&#xff09;、实际GDP&#xff08;以2000年为基期&#x…

【光伏系统】将电流从直流转换为交流电的太阳能逆变器、太阳能跟踪系统来提高系统的整体性能及集成电池解决方案(Simulink仿真)

&#x1f4a5;&#x1f4a5;&#x1f49e;&#x1f49e;欢迎来到本博客❤️❤️&#x1f4a5;&#x1f4a5; &#x1f3c6;博主优势&#xff1a;&#x1f31e;&#x1f31e;&#x1f31e;博客内容尽量做到思维缜密&#xff0c;逻辑清晰&#xff0c;为了方便读者。 ⛳️座右铭&a…

(高阶)Redis 7 第10讲 单线程 与 多线程 入门篇

面试题 1.Redis 是单线程还是多线程 最早的版本3.x是单线程。 版本4.x,严格意义不是单线程。负责处理客户端请求的线程是单线程,开始加入异步删除。 6.0.x版本后明确使用全新的多线程来解决问题 2.说说IO多路复用3.Redis 为什么快IO多路复用+epoll函…

基于SSM的乡镇自来水收费系统

末尾获取源码 开发语言&#xff1a;Java Java开发工具&#xff1a;JDK1.8 后端框架&#xff1a;SSM 前端&#xff1a;采用JSP技术开发 数据库&#xff1a;MySQL5.7和Navicat管理工具结合 服务器&#xff1a;Tomcat8.5 开发软件&#xff1a;IDEA / Eclipse 是否Maven项目&#x…

【leetcode 力扣刷题】回文串相关题目(KMP、动态规划)

回文串相关题目 5. 最长回文子串动态规划中心扩展算法 214. 最短回文串336. 回文对 5. 最长回文子串 题目链接&#xff1a;5. 最长回文子串 题目内容&#xff1a; 题目就是要我们找s中的回文子串&#xff0c;还要是最长的。其实想想&#xff0c;暴力求解也行……就是遍历所有的…