0

I currently have python2 installed on my machine. Is it possible to have both python2 and python3 installed on the same machine? If so, how?

Thanks!

Brandon
  • 321
  • 1
  • 4
  • 10
  • 1
    Yes, you can. You can install any number of Python versions; I have Python 2.4, 2.5, 2.6, 2.7, 3.2, 3.3, 3.4 and 3.5 (using [`buildout.python`](https://github.com/collective/buildout.python)). – Martijn Pieters Jul 11 '15 at 22:27
  • Yes, just put them in different directories. – nobody Jul 11 '15 at 22:27
  • You might find `virtualenv` useful: http://docs.python-guide.org/en/latest/dev/virtualenvs/ – NightShadeQueen Jul 11 '15 at 22:30
  • I'm making the assumption here that you are using windows, in which case the duplicate applies. There is also an [Ubuntu-specific answer](http://askubuntu.com/questions/350751/install-and-run-python-3-at-the-same-time-than-python-2). – Martijn Pieters Jul 11 '15 at 22:34

0 Answers0