conda command can refer to: [conda commonly used command collation]
1, problem
failed to create environment using conda creation-name py3.6.8 python==3.6.8
. At the first step: Collecting package metadata (repodata.json): failed has failed.
below is the related log:
Collecting package metadata (repodata.json): failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/usr/local/anaconda3/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
cnx.do_handshake()
File "/usr/local/anaconda3/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1915, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/local/anaconda3/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1639, in _raise_ssl_error
raise SysCallError(errno, errorcode.get(errno))
OpenSSL.SSL.SysCallError: (104, 'ECONNRESET')
version information for:
2, Solution h2>
search data, guess and conda version may be related, this idea comes from [conda issues-9004]. Conda is degraded with the command
conda config --set allow_conda_downgrades true
conda install conda=4.6.14
after the downgrade, the conda creation-name py3.6.8 python==3.6.8
environment was created successfully. The problem was solved successfully.
other
several frequently used conda commands, more can refer to [conda commonly used command consolidation]
conda install -n py3.6 python==3.6
conda activate py3.6.8
- 3
4 conda install nb_conda
5 // install Conda -envs conda info –envs // view all conda environments conda list
// view conda’s existing installation packages
0 conda deactivate
1
2
Read More:
- Error in downloading update creation environment of CONDA: collecting package metadata (current_ repodata.json): failed
- Solve CONDA’s “solving environment: failed” problem
- CONDA creating virtual environment and common CONDA commands
- Condahttpererror: http 000 connection failed for URL problem in CONDA installation package
- Anaconda create environment, delete environment, activate environment, exit environment
- 【ipfs-api】npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
- Edit the file to be edited by GEDIT. After saving, the warning set document metadata failed: setting attribute metadata:: GEDIT position no appears
- Edit the file to be edited by gedit. After saving, a warning of Set document metadata failed: Setting attribute metadata::gedit-position no appears
- The problem of failed to create process occurs in pyinstaller package program of Python
- conda install failed: conda.core.subdir_ data.Response304ContentUnchanged Python cannot be installed
- An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed
- Conda HTTP 000 CONNECTION FAILED for url
- After canceling the startup of Ubuntu terminal, it will automatically enter the base environment of CONDA
- Using CONDA virtual environment in pychar
- package.json And package- clock.json The difference between
- Package summary of installing python with CONDA
- Jupyter notebook couldn’t find CONDA’s virtual environment
- The python version output from the command line is inconsistent with the python version in the current CONDA environment
- Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
- RemoveError: ‘setuptools’ is a dependency of conda and cannot be removed from conda’s operatin