Don't use the default Python installation: it isn't the latest and can result in permissions issues and pacakges being wiped after an OSX update.
- Install it from Homebrew:
brew install python - Check which version of Python you're using:
which python
If it responds '/usr/bin/python' you're using the system one. Read on. - Edit the paths to include your Homebrew Python install:
sudo vi /etc/paths - Prepend /usr/local/bin to the list of locations
- Check the result:
python
Should result in the Homebrew version.
No comments:
Post a Comment