1. nstall both Python 2.7 and 3.4 with the windows installers.
  2. Go to C:\Python34 (the default install path) and change python.exe to python3.exe
  3. Edit your environment variables to include C:\Python27\;C:\Python27\Scripts\;C:\Python34\;C:\Python34\Scripts\;

 

 

https://datascience.com.co/how-to-install-python-2-7-and-3-6-in-windows-10-add-python-path-281e7eae62a

Download python 2.7

Download Python 2.714”.

Can I install Python 3.x and 2.x on the same Windows computer?

Wait until installation package is complete.

Can I install Python 3.x and 2.x on the same Windows computer?

Install python 2.7

C:\Python27” as my directory.

Can I install Python 3.x and 2.x on the same Windows computer?

Wait until install is complete.

Can I install Python 3.x and 2.x on the same Windows computer?

Click Finish

Can I install Python 3.x and 2.x on the same Windows computer?

Download python3

step 1, download python3.

Can I install Python 3.x and 2.x on the same Windows computer?

Customize installation’.

Can I install Python 3.x and 2.x on the same Windows computer?

C:\Python3

Can I install Python 3.x and 2.x on the same Windows computer?

Add python27 and python3 PATH

Panel de control’ and open it.

Can I install Python 3.x and 2.x on the same Windows computer?

variable de entorno’.

Can I install Python 3.x and 2.x on the same Windows computer?

Variables de entorno’

Can I install Python 3.x and 2.x on the same Windows computer?

Nueva’

Can I install Python 3.x and 2.x on the same Windows computer?

Add the following routes in order to use python and pip.

C:\Python27

C:\Python27\Scripts

C:\Python3

C:\Python3\Scripts

Note: If you have installed python on a different location you need to find your where python is and set that location.

Can I install Python 3.x and 2.x on the same Windows computer?

Change executables names

In order to execute both python version change the python.exe to python2.exe where python2 is located and python.exe to python3.exe where python3 is located.

Can I install Python 3.x and 2.x on the same Windows computer?
Can I install Python 3.x and 2.x on the same Windows computer?
Can I install Python 3.x and 2.x on the same Windows computer?

https://stackoverflow.com/questions/3809314/how-to-install-both-python-2-x-and-python-3-x-in-windows-7

TEST Both Python versions

Check python versions

Run Python2 –V and Python3 –V to get respective python versions.

Can I install Python 3.x and 2.x on the same Windows computer?

b. Install a package using python2 and python3

If the above commands run without problems python2 and python3 were successfully installed on windows 10 environment.

Can I install Python 3.x and 2.x on the same Windows computer?

Jose Miguel Arrieta

January 2018

相关文章: