Usare Python2.5 anziché il 2.6 come default

Andare qui:
~$ cd /usr/share/python

Editare debian_defaults e mettere:
default_version = python2.5 (al posto di python2.6). In questo modo dico a Python dove trovare i moduli corretti.

Poi creo il link simbolico di python a python2.5 (prima era a python2.6).
~$ cd /usr/bin
~$ sudo ln -sf python2.5 python

Read more from the Tips && Tricks category. If you would like to leave a comment, click here: Comment. or stay up to date with this post via RSS, or you can Trackback from your site.
Social Bookmark : Technorati, Digg, de.licio.us, Yahoo, Blinkbits, Blogmarks, Google, Magnolia.

Leave a Comment

Name (required)

Email (required)

Sito web

Commenti