![]() PYTHONPATH=$HOME/.python33/lib/python3.3/site-packagesĮvery time you want to work with this version of python you will need to execute this file to configure this variables properly, or you can setup multiple users accounts like "python33", "python32" and setup those profiles (.bash_profile) to configure this variables.Īfter that you will need to install the "distribute" package. Let's suppose that I have installed my Python 3.3 version on "$HOME/.python33", my script will be like this: This script will just setup my PATH and PYTHONPATH variable pointing to this new installation and I need to execute it every time want to use this version ("activate" it). My approach to have multiple python version (non-root) on my system is to compile from source and create an script to "activate" this installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |