Reputation: 388
Hopefully the title says most of it. When I use conda, it informs me that there's a newer version; however, when I go to install conda, it refuses to install anything beyond 4.5.11. This problem is occurring on my laptop (running OS X Mojave). The Ubuntu virtual machine I'm running does not have this problem. It's been 9 days and no one has replied to my conda Github issue, so I was hoping that someone here might be able to help out. That link contains relevant configuration details that may offer some clues.
$ conda update -n base -c defaults conda
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.5.11
latest version: 4.6.4
Please update conda by running
$ conda update -n base -c defaults conda
# All requested packages already installed.
Upvotes: 7
Views: 9080
Reputation: 1
Following the procedure outlined in this GitHub issue did the job for me.
tldr:
conda update -n base conda -c anaconda
Upvotes: 0
Reputation: 41
I think you could try the command: conda install conda=4.6.4
, it may be helpful.
Upvotes: 2
Reputation: 18580
I encountered a similar problem, except that conda was reporting that I needed to update from 4.6.x to 4.7.x and that I needed to update by running:
conda update -n base -c defaults conda
None of the other answers (as of the time I'm typing this) did the job immediately:
On something of a whim, I ran
conda update anaconda
That did a a lot of updates (far more than should be listed here), which I then followed with:
conda update python
Again, there were many updates done; looking through the list, it was in this step that the conda update actually got done. Nonetheless, I still ran:
conda update conda
A few more updates were done at this point and these turned out to be the last ones. However, for good measure I ran:
conda update -n base -c defaults conda
Upvotes: 4
Reputation: 820
Loop in conda update problem, and finally I typed which python
and found python2.7.
Maybe it's python version problem, you just need to update the python to python3.
Upvotes: -1
Reputation: 388
This issue was due to a conflict with a PyTorch installation in base
. I removed torch
and torchvision
from the base
env and this fixed the dependency snag.
Upvotes: 0
Reputation: 21
To update conda to the most recent version you have to update python:
(base) self@home:~$ conda update python
This updates many packages including:
conda: 4.5.11-py35_0 --> 4.6.11-py36_0
Upvotes: 2