Use the interactive menu to select which version you would like to use as the default. You may then run update-alternatives with the -config option so that you may select which version you want to choose to be the default $ sudo update-alternatives -config python The installation using the cmd shell works well and all. I want to install additional module such as Shapely or Fiona or Pandas (version 64x) using the. (64x) and Python 2.7.9 with Matplotlib and Numpy included by default.
![python 2.7.9 install python 2.7.9 install](https://qiita-image-store.s3.amazonaws.com/0/76564/4a6e46fb-1ebf-a6b3-0358-4a19c159c6a3.png)
#Python 2.7.9 install how to
On Windows I was able to simply install Python 3, and then install praw with minimal hassle but MacOS seems to use Python 2.7 as some kind of default - which I'm not sure how to override. Install Python module with Python 2.7 and Arcmap 10.2.2. Sudo update-alternatives -install /usr/bin/python python /usr/bin/python3.5 2 python3 -version Python 3.4.3 But I can't seem to make it install using Python 3, it only wants to install using Python 2. Run these two commands first, but make sure the python versions match what you have on your computer sudo update-alternatives -install /usr/bin/python python /usr/bin/python2.7 1 If setting up virtual environments is not what you want to do, then you can also use update-alternatives to switch between python version. Python version Maintenance status First released End of support Release. Switching between python versions using update-alternatives: For more information visit the Python Developers Guide. Now that you have pip installed you can refer to the instructions at this link to learn how to setup these virtual environments for testing various python versions and packages (to install pip3 for python3, use this command sudo apt install python3-pip) You can also setup virtual python environments using pip. As Hugo stated in the comment above, python3 should already be installed and you can run it by using python3 in the terminal as he mentioned.