Skip to content Skip to sidebar Skip to footer

Running Non-system Python With Virtualenv In 32bit Mode On Os X

Short Question Using virtualenv / virtualenvwrapper is it possible to add a prefix to the python call that linked to a specific virtual environment? Background I would like to ha

Solution 1:

Adding an alias to your activate script, and activating your virtualenv each type you want to use it.

$ cd env32
$ echo "alias python='arch -i386 python'" >> bin/activate
$ source bin/activate
$ python myscript.py

Post a Comment for "Running Non-system Python With Virtualenv In 32bit Mode On Os X"