
I had the same conflict with Python somehow being installed in /Library/Framework/amework. When I upgraded python3 through Homebrew, I started getting this: -bash: python3: command not found Also, I am using Python 2.7 on my computer, trying to stay away from Python 3. Also note that this warning message didn't always print out when I ran brew doctor, it was something that started to appear recently. Note that I don't have any applications in particular that are running into errors due to this warning from brew doctor. How do I suppress this warning? Do I need to delete the /Library/Frameworks/amework directory from my computer? Am I just supposed to ignore it? Is there a different application on my computer that may be causing this warning to emit?

Output is /usr/local/bin/python.ĭespite all this, when I rerun brew doctor, I am still getting the same warning message. Running which python confirms that Homebrew's version of it is indeed at the top of my PATH. Therefore, I ran brew install and followed the steps provided in the installation's caveats output to install Homebrew's version of Python. In particular, Pythons installed to /Library can interfere with other software installs. Homebrew only supports building against the System-provided Python or a brewed Python. Warning: Python is installed at /Library/Frameworks/amework When I ran Homebrew's brew doctor (Mac OS X 10.9.2), I get the following warning message: If you want to modify your path so one Python has precedence over the other, you can update your PATH in your. This is one reason I recommend creating a virtual environment and explicitly activate it (see the next section on virtual environment). The system Python (in /usr/bin/) may end up in your PATH environment variable before your installed version (in /usr/local/bin/).


Homebrew and the official Python installer will both symlink executables to /usr/local/bin/python3 depending on which one was installed last. The /usr/bin/python3 is the system Python, and the one you want to avoid using. You can use where python3 or where idle3 to see which executables you have available in your path. They can all co-exist if you know what you are doing, but I recommend choosing either the Homebrew method or the official installer and not both. It can get confusing and you may accidently install a package to one version of Python while your IDE is using a different version. In addition to the system Python 2 and Python 3, you can also have Python 3 installed from the official installer as well as Homebrew's Python 3 all at once. It is possible to have multiple versions of Python installed.
