我正在尝试通过使用anaconda提示符与anaconda安装opencv。但是它没有被安装。我尝试了很多次,但每次都显示相同的错误。
错误: Anaconda提示:
(base) C:\>conda install -c conda-forge opencv
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/repodata.json.bz2>
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://www.anaconda.com blocked, please file
a support request with your network engineering team.
ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/win-64/repodata.json.bz2 (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001C8E6005860>, 'Connection to repo.anaconda.com timed out. (connect timeout=9.15)'))"))
我不明白这是怎么回事。错误中显示并表明已被阻止或无法访问的URL,可以在我的浏览器窗口中轻松打开这些URL。
我正在使用以下命令进行openCV安装:
conda install -c conda-forge opencv
在通过Anaconda安装openCV软件包方面,请提供帮助。