[Pythoneers] no meeting today+ some news+ a note on updating Python3 packages
mhabibi at mpe.mpg.de
mhabibi at mpe.mpg.de
Thu Apr 9 10:39:48 CEST 2015
Hi all,
There is no meeting today.
I will be traveling (observation at Paranal)for the next three weeks. Feel
free to send around emails, and organize meetings, etc. Keep our python
meetings alive :)
Cheers,
Maryam
Ps:
>>> A NOTE ON:updating Python3 packages<<<<
I was trying to update some of python3 packages to a particular version.
What I did first was to
pip install python3-package
But in this way my packages were not the most updated version. The problem
was that pip installs the latest version when the packages for my Ubuntu
version were finalized. The right way is to use pip3 which manages all the
packages available for python3, and is independent of the ubuntu
repositories.
and with pip3 apparently there is a nice way to install a particular
version of a package
pip3 install astropy==1.0.1
In general, I am not sure if using pip, and using sudo, is the best way
to update packages. Because not every package is careful about its
backwards
compatibility. So one could end up in dependency hell. I've read that it
would be much safer using something like virtualenv. I have not used it...
Any information about virtualenv would be appreciated.
--
Maryam Habibi
-----------------------------------------------------------
Max Planck Institut für extraterrestrische physik
Room X5 1.3.35
Phone: +49 (0)89 30000 3362
-----------------------------------------------------------
More information about the Pythoneers
mailing list