How do I change the build path for the Mac OS X default Python package?
-
OSX 10.6 When you type "python" into terminal, it chooses this package, how would one change this?
-
Answer:
Your best bet is to do an alternate install of Python so that both versions can function together. You can reference either version in your python scripts this way. As far as changing where 'python' points to when you run it from a terminal... there are a few options.. Symlinks, Aliases, etc. The way that I prefer to do it (so I can easily change where it points on the fly) is to edit my bash profile to add an additional alias. For example... You can type sudo pico /etc/profile (or any text editor with admin permissions) Then you can add alias python='path/to/python' wherever you want to Just save & restart your bash shell (just close/re-open terminal) and you should be right as rain! This might not be the best method of accomplishing what you are looking for but it is how I roll. If you have any questions regarding alternate python installs or more about this let me know. Cheers!
Adam Gray at Quora Visit the source
Related Q & A:
- How can I auto run ccleaner on Mac OS X?Best solution by forum.piriform.com
- How can I mount a network drive in Mac OS X in Java?Best solution by Stack Overflow
- How to create a virtual file on mac OS X?Best solution by Super User
- How can I change my "default" email program to Yahoo?Best solution by Yahoo! Answers
- How do I change my default email address?Best solution by Web Applications
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.