How to install Python 2.7.15 and 3.6.5 on Windows 10
Steps
- Download Python 2.7.15. Install it with the default settings.
- Download Python 3.6.5. Install it with the default settings.
- Change the executable file name C:\Python3\python.exe to C:\Python3\python3.exe.
Install modules
- Python3
python3 -m pip install pandas
- Python2
python -m pip install pandas
Execute program
- Python3
python3 test.py
- Python2
python test.py