Sorry for taking so long to get round to this. Replacing `virtualenv` with `virtualenv2`, `pip` with `pip2` &c got everything working. Also, thanks to whoever added activate.fish.

On 10/07/14 14:23, Gary Martin wrote:
On 10/07/14 14:04, James Wood wrote:
Hi everyone! I hope I'm posting to the right place.

Arch Linux's `python` is Python 3, but BH requires Python 2. What's the best way to make BH use `python2`, preferably without changing the Python version for the whole OS?

Hey, good to see you here again!

https://wiki.archlinux.org/index.php/python gives a fair bit of information. In particular, once installed, when you want to run a script with python2 you will need to specify it because the default for the python command will be python3 (which is sensible as that way it shouldn't break Arch's scripts.)

If you want to use a virtualenv, you may find that you can create it with the -p python2 option but the wiki page above seems to suggest installing python2-virtualenv will give you a virtualenv2 which assumes python2 as the default.

Admittedly, none of this has been checked by me yet as I don't run Arch!

Cheers,
    Gary

Reply via email to