I need some major help and am a bit scared since I do not want to mess up my computer!I am on a Macbook Air running OSX 10.10.5. So I was following a tutorial to help me learn Django. The tutorial isn't important. What is important is that when doing it I changed my $PYTHONPATH to this:
export PYTHONPATH=$PYTHONPATH:/usr/local/bin/../../../Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Then I got scared with a homebrew warning here it is:
Warning: "config" scripts exist outside your system or Homebrew directories.
./configure
scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of the same name. We found the following "config" scripts: /Library/Frameworks/Python.framework/Versions/2.7/bin/python-config /Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
Warning: Your XQuartz (2.7.7) is outdated Please install XQuartz 2.7.8: https://xquartz.macosforge.org
Warning: Python is installed at /Library/Frameworks/Python.framework
Homebrew only supports building against the System-provided Python or a brewed Python. In particular, Pythons installed to /Library can interfere with other software installs.
I got scared that I had messed something up because of two things first the message relating to config scripts and then this one :
Warning: Python is installed at /Library/Frameworks/Python.framework
Homebrew only supports building against the System-provided Python or a brewed Python. In particular, Pythons installed to /Library can interfere with other software installs.
I did my research and here are the links I found:
Repairing mysterious Python config scripts outside of the system
https://stackoverflow.com/questions/34030890/homebrew-warnings-additional-config-scripts-in-python
The first one says to clean my path but I have no idea how to do that and the second has no answers.
Any help would be greatly appreciated since I don't want to use my computer until I can make sure everything is fixed!
EDIT: Will using export $PATH = /usr/local/bin fix my issue? I got that from this link: https://apple.stackexchange.com/questions/96308/python-installation-messed-up