0

I need help to switch between python 2.7 and 3.4 in windows 10 command prompt. I have installed both version but by default python 2.7 is selected. Need some command in cmd which help to switch between versions.

kiran_raj_r
  • 116
  • 11

2 Answers2

2

You can specify the path of the versions explicitly:

> C:\Python27\python

or

> C:\Python34\python
Moses Koledoye
  • 77,341
  • 8
  • 133
  • 139
1

One other option is to use virtualenv

http://pypi.python.org/pypi/virtualenv

It helps you by managing/switching between several virtual Python environments.

Mo H.
  • 1,788
  • 1
  • 18
  • 28