1

I followed this post's advice and now I can no longer get python working on my computer. What is the safest way to removing Python framework files that are located in different place than Brew installs

When typing "brew search python" into the terminal it says both python and python3 are installed. However, my terminal doesn't recognize any python commands or let my reinstall python

the below is my bash profile

# Setting PATH for Python 3.5
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH


# Setting PATH for Python 3.4
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"
export PATH

# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH
Community
  • 1
  • 1
  • Try to use locate command from terminal and find where the python binary located at.. add that path to the .profile file.. http://osxdaily.com/2011/11/02/enable-and-use-the-locate-command-in-the-mac-os-x-terminal/ – Leo Prince Oct 19 '16 at 15:02
  • Or without having to make the `locate` database, you can try `which python`. What happens when you run `brew install python`; or did you not want to reinstall the homebrew Python? – Harry Oct 19 '16 at 19:06

0 Answers0