Home » Odeon Blogs » Stefan Talpalaru, CTO »

multiple python versions on Gentoo

multiple python versions on Gentoo

With the unmasking of python-2.7.1 on ~testing architectures, Gentoo users are getting the opportunity to see the last of the 2.x series in action. For most of us, a stable python is very important, so don't be ashamed of going back to 2.6 with "eselect python set python2.6" after upgrading @world. Actually, let's make sure that 2.6 gets an equal treatment with 2.7 when python modules are installed in other packages. Add this to your make.conf:

  1. USE_PYTHON="2.6 2.7 3.1"

Now run python-updater and revdep-rebuild (just to be sure). I've seen one package escape the checks so you need to emerge it manually: dev-libs/libxml2. After doing all this I don't see any problems with 2.7. Django runs just fine on it ;-)

P.S.: save yourself some trouble and don't remove '3.1' from USE_PYTHON even if you don't intend to use it.


Categories: Gentoo Python



Leave a Comment :

(required)


(required)




(required)








Page generated in: 0.10s