I am trying to update python package to 3.10.4 on Anaconda Navigator. However, after hitting the update, the application is stuck at “Solving package specifications” for more than 30 minutes with no apparent progress. What causes this and how do I update python package to 3.10.4?
There’s a good chance you already found help elsewhere, but I’ll try anyway
The first problem you may have is that there is a great number of packages depending on another python version. Are you trying to upgrade from 3.7, 3.8 or 3.9 ? If so, conda is trying to figure out which need to be updated, which can remain, etc. This is quite a tedious task. If you’re trying to do this, it is better to create a new environment using
conda create. See
conda create --help for info.
The other option: do you have a full anaconda environment in which you’re trying to update python?
If so, it is good to know that there is a “pinning” package called “anaconda”. If you try
conda list you should see it. You can remove this package using
conda remove -n myEnv --force anaconda. Next, it should be possible to update your python package.
I’m having the same issue. I need to get scikit-learn to update. I tried it in the command line and also in the anaconda GUI. Both methods are getting hung up. In command line, it actually looks like something finishes, but when I check, scikit-learn is not updated. Anyone run into this and find a good solution?