ggcarrots / django-carrots

Tutorials walking new programmers through the process of building their first website in Python and Django
http://django.carrots.pl
Other
405 stars 205 forks source link

Directions for updating Python on Mac #43

Closed sguermond closed 9 years ago

sguermond commented 9 years ago

(add all this to install.rst)

OSX does not automatically replace all system links to Python 3.

Instructions can be found here. The last step is to replace local (which python) with a symbolic link to /usr/bin/python:

sudo rm /usr/local/bin/python
sudo ln -s /usr/bin/python /usr/local/bin/python

The correct version of Python should now be the default when you run python.

qrees commented 9 years ago

I don't think replacing python version globally in the system is a good idea. That's why we virtualenv, so that there can be multiple versions of python.