Reputation: 7844
I'm trying to install Django 1.5 to my Python 3.3 installation, but installing it either manually or via pip
installs it to my (Mountain Lion) Mac's Python 2.7 folder. How can I force it to install for 3.3?
Upvotes: 1
Views: 693
Reputation: 99620
I would recommend using a virtual environment, and use the -p
flag to specify which python you wish to use
$ virtualenv -p /usr/local/bin/python3.3 <virtual_env>
Or
$ virtualenv --python=/opt/python-3.3/bin/python ENV
Just change the path to Python
accordingly
Upvotes: 3