When we use the Anaconda Prompt, we often use the conda command for environment management and third-party package management. But what if the following problems arise?Don’t panic. You’ll know after you read it.
Error code:
Could not fetch URL https://pypi.python.org/simple/tensorflow/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748) – skipping
Error code:
Could not fetch URL https://pypi.python.org/simple/tensorflow/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748) – skipping
(base) C:\Users\genec>conda create --name python36 python=3.6
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/r/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.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/r/win-64/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')])")))'))
Online tutorial prompts to replace the source installation, you can. Below is the result of trying to replace the source…
(base) C:\Users\genec>conda create --name python36 python=3.6
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/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.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'mirrors.tuna.tsinghua.edu.cn\', port=443): Max retries exceeded with url: /anaconda/pkgs/free/win-64/repodata.json (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')])")))'))
The problem remains unresolved. So what to do?
In fact, the main problem is your network SSL authentication, you can try this:
Use notepad or Notepad++ to open C:\Users\.condarc under your username. Change sSL_verify to false.
If you want to change back to the original conda source, enter the Anaconda Prompt:
conda config --remove-key channels
Read More:
- After windows VM is installed successfully, it is always prompted that this application may not work properly
- Conda HTTP 000 CONNECTION FAILED for url
- Condahttperror:HTTP000 Connection Failed for URL https://repo.anaconda.com/pkgs/main/win-6
- RemoveError: ‘setuptools’ is a dependency of conda and cannot be removed from conda’s operatin
- RemoveError: ‘requests‘ is a dependency of conda and cannot be removed from conda‘s operating env
- Removeerror: ‘requests’ is a dependency of CONDA and cannot be removed from CONDA’s o
- conda install failed: conda.core.subdir_ data.Response304ContentUnchanged Python cannot be installed
- RemoveError: ‘requests’ is a dependency of conda and cannot be removed from conda’s operating enviro
- Condahttpererror: http 000 connection failed for URL problem in CONDA installation package
- CONDA upgrade command: upgrade CONDA, anaconda and various packages
- When SSM + Maven project is running, it is prompted that org.springframework.web.servlet.dispatcherserservlet cannot be found
- Cannot find module ‘request’ is prompted after electron is packaged
- After Android studio is installed, open a pop-up window to prompt failed to load JVM DLL XXX
- For the installation of anaconda3 in manjaro system, after the update (CONDA update — all), the terminal prompts an error and cannot execute CONDA related commands
- RuntimeError: cuda runtime error (100) : no CUDA-capable device is detected at /opt/conda/conda-bld/
- Error condahtterror: http 000 connection failed
- Problem: error (24) file not found is prompted when importing the network table
- Installing xgboost in anaconda is based on win10 32 / 64 bit system
- After openstack neutron is installed, the Linux bridge starts and the error is resolved
- Solve the problem of jdk8 after win7 is installed. Has value ‘1.8’, but ‘1.7’ is required