Since I discovered Anaconda Python distribution, I only work with it, and I’m really happy for that. On a previous entrance, I wrote about how to update Python packages, but today’s entrance is a step forward.
Recently, IPython has a new version with a very important update, moving from versión 1.1 to 2.0 (published on 2014 April). I’m using the conda tool for updating Anaconda.
Verifying the IPython version
From Start / Execute, let’s write ipython to get an IPython console:
In my case, I am running versión 1.1, but it’s time to move to version 2.0.
Updating
First of all, you need a MS-DOS console, after Start / Execute and write cmd. The instruction to update is:
conda update anaconda
But, we have a numpy conflict:
The confloct arised because I had PyScripter opened, and if you have something running, updating is not possible.
Another solution is to update the numpy package by doing:
conda update numpy
Once solve, let’s execute again conda update anaconda, and now, everything seems ready to update. You’ll get a list of packages to be updated:
We are asked to change links, and we say yes:
And … the updating process starts, downloading all packages.
After a while, the process ends:
Now, you have everything updated except IPython, and we need to proceed with another update:
conda update ipython
You confirm the action:
Everything has finished, and it’s time to verify that we are now using IPython version 2.0:
Clean old tarballs
Once updated, it is highly recommended to clear old tar files (also, to remove unnecesary files). To do that, you need to execute this command::
conda clean -t
First, we receive a list of all old packages to be cleaned, and it ask to to proceed:
confirm the action by saying yes, and … done!
Is is needed to update?
My opinion is that yes, because new versions solve bugs and offer new functionalities with more speed, better performance on new features. Also, the time spent in updating is shot (about 5-8 minutes aprox), so the time invested worth it.
In case you need a concrete version if a package, don’t update.
I hope this topic would be interest you, and have a nice day.