0

Is it possible to install patch updated versions of python on the same system? For example 3.6.1 and 3.6.3 together.

For example, 3.6 and 3.7 can be installed no problem. But I am wondering about the patch versions (3.6.1 and 3.6.2, etc.). This didn't work using the regular Windows installer. I would like to be able to have both so I can test code against different python bases using virtual environment.

Natre
  • 134
  • 5
  • 1
    Try [pyenv](https://github.com/pyenv/pyenv) – smac89 Aug 02 '21 at 19:52
  • 1
    I'm not sure *why* you would want or need two different versions of 3.6 installed, but yes, it's no different than installing 3.6 and 3.7 side-by-side on the same machine. – chepner Aug 02 '21 at 19:53
  • Yes, the 3.6 and 3.7 can be installed no problem. I am wondering about the patch versions (3.6.1 vs 3.6.2, etc.). I would like to be able to have both so I can test code against different python bases using virtual environment. – Natre Aug 02 '21 at 20:02
  • 1
    The version numbers don't really matter. The key is that Python installations are distinct from each other; they don't share any code. – chepner Aug 02 '21 at 20:37

1 Answers1

0

Yes. Take a look at installing Python using PyEnv and you should be able to install various versions of Python on the same system.

medecau
  • 124
  • 2
  • 12