Anaconda 4.1.6 Python 3.5.2
Not possible to create environment why?
(C:\Users\saxs\Anaconda3) C:\Users\saxs\GIT\SAXS_py3>conda env list
# conda environments:
#
root * C:\Users\saxs\Anaconda3
(C:\Users\saxs\Anaconda3) C:\Users\saxs\GIT\SAXS_py3>conda create -n Test2 Python=2.7
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata ...
(C:\Users\saxs\Anaconda3) C:\Users\saxs\GIT\SAXS_py3>conda env list
# conda environments:
#
root * C:\Users\saxs\Anaconda3
(C:\Users\saxs\Anaconda3) C:\Users\saxs\GIT\SAXS_py3>conda -V
conda 4.1.6
(C:\Users\saxs\Anaconda3) C:\Users\saxs\GIT\SAXS_py3>python -V
Python 3.5.2 :: Anaconda 4.1.1 (64-bit)
(C:\Users\saxs\Anaconda3) C:\Users\saxs\GIT\SAXS_py3>
This is really weird. Could you try to use a lower case p on Python and try a new version of Python, say 3.9 as a sanity check?
Sorry for delay in answer, somehow I solved and I was try to recreate the error. This could be due to the command conda deactivate.
(C:\Users\saxs\anaconda3) C:\Users\saxs>conda create -n C5 conda=5 python=3
Collecting package metadata (current_repodata.json): failed
CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.
Exception: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /anaconda/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
(C:\Users\saxs\anaconda3) C:\Users\saxs>conda activate
(C:\Users\saxs\anaconda3) C:\Users\saxs>activate base
(C:\Users\saxs\anaconda3) C:\Users\saxs>conda env list
# conda environments:
#
base * C:\Users\saxs\anaconda3
C4 C:\Users\saxs\anaconda3\envs\C4
myenv C:\Users\saxs\anaconda3\envs\myenv
py3p5 C:\Users\saxs\anaconda3\envs\py3p5
(C:\Users\saxs\anaconda3) C:\Users\saxs>conda create -n C5 conda=5 python=3
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- conda=5
Current channels:
- https://conda.anaconda.org/anaconda/win-64
- https://conda.anaconda.org/anaconda/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
(C:\Users\saxs\anaconda3) C:\Users\saxs>conda deactivate
C:\Users\saxs>conda create -n C5 conda=5 python=3
Collecting package metadata (current_repodata.json): failed
CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.
Exception: HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
C:\Users\saxs>conda activate
(base) C:\Users\saxs>