So, I've just installed some dependencies to python, and when I create a new script thus:
#!/usr/bin/python
I find that it doesn't recognise the modules I just installed. Upon further inspection (pydoc-ing the modules) I find they're installed in a completely different directory! Then I find that when I run "python" in Terminal, it's using one in /Library/Frameworks/Python.framework/Versions/2.5/! Is there a way of getting the latest version of python to install in /usr/bin/python rather than some crazy other directory? It's not exactly brilliant for portability on other systems if I have to change the directory at the top of the script!
Thanks
#!/usr/bin/python
I find that it doesn't recognise the modules I just installed. Upon further inspection (pydoc-ing the modules) I find they're installed in a completely different directory! Then I find that when I run "python" in Terminal, it's using one in /Library/Frameworks/Python.framework/Versions/2.5/! Is there a way of getting the latest version of python to install in /usr/bin/python rather than some crazy other directory? It's not exactly brilliant for portability on other systems if I have to change the directory at the top of the script!
Thanks