Open atribera opened 2 years ago
My guess is that your conda version is too old and does not have python 3.8.13
To determine the conda version that you have, run this command:
conda -V
The latest conda version is 4.13.0
To update conda (in your base environment), run:
conda update -n base -c defaults conda
After updating conda, the conda create -n dervet-venv python=3.8.13
command should work.
I previously had conda 4.10.0 and after running conda update -n base -c defaults conda
, I got conda 4.10.1, which is giving me the same error as before while trying to create an environment using python 3.8.13. I have tried running conda install conda=4.13.0
to get the latest version of conda but I get the following error:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- conda=4.13.0
Current channels:
- 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
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/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.
Try to install python=3.8 in your base environment first. Then update conda, and create the new environment.
Helpful commands for further investigation:
conda info
conda config --show-sources
I figured I had issues with my conda config file. I have fixed the issue and everything works fine now. Thanks for your help.
I am getting the following message when I use
conda create -n dervet-venv python=3.8.13
: