Currently I can use py2.7 by using a terminal alias. My problem is that when I try and run a script, it depends on a module requests
. I have tried to pip install this and even download the requests2.7
folder and sudo python setup.py install
. Even though I was aliased with python2.7, This resulted in it being downloaded to my python 3.5 site.
Installed /anaconda/lib/python3.5/site-packages/requests-2.7.0-py3.5.egg
Processing dependencies for requests==2.7.0
Finished processing dependencies for requests==2.7.0
How can I fix this? I need to run scripts as 2.7 but my default seems to be 3.5.