My colleague wants to use my python 2 code on his OS X machine (10.6). My code imports several built-in python packages, including Tkinter and shelve, and also uses third-party packages including numpy, scipy, matplotlib and ipython.
I ran into some problems with the OS X built-in python. (IDLE does not work, for example *). I suspect that I should install a newer version of python and a different version of Tk .
My questions:
Will there be two different versions of python / Tk on the same computer problem?
I would like to associate the terminal commands "python", "ipython" and "easy_install" with a newer version of python. How should I do it?
When I install third-party packages such as numpy using a .dmg file , how do I control which version of python numpy installs in?
Is there a better way to do this?
If this process is going well, I would consider adding OS X instructions to my code documentation, so I would like to reduce this process to the simplest, most general approach.
* EDIT: Also, this
EDIT: . MacPorts, , , , . Xcode . ( ). , ! Xcode , MacPorts . Python python, , , , . , ? MacPorts . , , "Python Launcher" , - python.
, , . , .