Ryan Erwin
Ryan Erwin

Reputation: 817

Update Python 2 and 3 with Conda

I am running Ubuntu and have installed Anaconda2 and Anaconda3 (before I knew about environments). I'd like to update both versions using, say:

conda update anaconda 

# or
conda update --all

However, when I run this command, it only updates Anaconda2. I've tried using:

conda3 update anaconda

# and
conda3 update --all

For now, I'd like to keep the configuration the same, i.e., not uninstall Anaconda 2 or 3 and create an environment within the one I keep.

Upvotes: 0

Views: 3359

Answers (1)

Ryan Erwin
Ryan Erwin

Reputation: 817

Thanks for your comments: I've decided it's just easier to uninstall Anaconda3 and create an environment:

conda create -n py35 python=3.5 anaconda

To activate I use:

source activate py35

# to deactivate
source deactivate

Upvotes: 1

Related Questions