The Python Oracle

Bulk package updates using Conda

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle3

--

Chapters
00:00 Question
00:27 Accepted answer (Score 357)
00:52 Answer 2 (Score 15)
01:16 Answer 3 (Score 2)
01:42 Answer 4 (Score 0)
01:55 Thank you

--

Full question
https://stackoverflow.com/questions/2495...

Answer 2 links:
https://github.com/spyder-ide/spyder/wik...
https://groups.google.com/forum/#!forum/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #anaconda #conda

#avk47



ACCEPTED ANSWER

Score 358


You want conda update --all.

conda search --outdated will show outdated packages, and conda update --all will update them (note that the latter will not update you from Python 2 to Python 3, but the former will show Python as being outdated if you do use Python 2).




ANSWER 2

Score 15


Before you proceed to conda update --all command, first update conda with conda update conda command if you haven't update it for a long time. It happent to me (Python 2.7.13 on Anaconda 64 bits).




ANSWER 3

Score 2


the Conda Package Manager is almost ready for beta testing, but it will not be fully integrated until the release of Spyder 2.4 (https://github.com/spyder-ide/spyder/wiki/Roadmap). As soon as we have it ready for testing we will post something on the mailing list (https://groups.google.com/forum/#!forum/spyderlib). Be sure to subscribe

Cheers!




ANSWER 4

Score 1


# list packages that can be updated
conda search --outdated

# update all packages prompted(by asking the user yes/no)
conda update --all

# update all packages unprompted
conda update --all -y