Issue
I have created a conda
environment for qcodes
using the Anaconda prompt as follows,
conda create -n qcodes
conda activate qcodes
conda config --add channels conda-forge --env
conda config --set channel_priority strict --env
conda install qcodes
As Spyder isn't in the environment I tried to install using,
conda install spyder
Which gives me the following error,
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
ResolvePackageNotFound:
- python=3.1
I tried to update conda
using,
conda update conda
and got...
PackageNotInstalledError: Package is not installed in prefix.
prefix: C:\Users\nr2-roberts\.conda\envs\qcodes
package name: conda
I get the same with conda update anaconda
Anyone know what's going on here?
Solution
Seems like you have python 3.10 in you qcodes env. There is not (for the moment) Spyder packages on conda (neither on the default channel or the conda-forge channel) compatible with Python 3.10. I would suggest you to recreate your env but when doing conda install qcodes
do conda install qcodes python=3.9
Answered By - Daniel Althviz
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.