I'm a new Mac user. I installed python 2.7.6 but I cannot run my scripts (through IDLE or simply a script). I want to reinstall it but I don't want to mess with the version which comes pre-installed on mac. Thank you for your help. note: there are questions on stackOverflow that are similar to mine, yet they do not address the issue of the pre-installed version of python. or is it irrelevant?
macos - uninstall python on mac Mavericks
Question:
1 Answer:
To uninstall python, see: How to uninstall Python 2.7 on a Mac OS X 10.6.4?
A potential solution would be to specify which python interpreter to use when writing your scripts. Or you can specify a python alias, store which python interpreter you wish to use and save it to your .bash_profile.
This might also guide you to the right direction: Setting default interpreter for a python script