Python Forum

Full Version: Default python version on Windows (3.6.x vs 3.6.y)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have two python versions on my PC - 3.6.1 and 3.6.8

I need to use 3.6.1 as the default version due to an automation framework being heavily dependent on this version, but for other uses like log parsing I need 3.6.8 (this is for sparse usage)

When I run the automation framework with py -3 , the version 3.6.8 gets invoked causing a few issues along the way.

Is there a way I can make the version 3.6.1 default so I can have both the versions but avoid the above problem ?
Look at Python 3.6/3.7 and pip installation under Windows.
See under "Fixing Path if needed" can set 3.6.1,also look at py "Access other versions".
Also look/learn to use virtual environment,which now is build into Python trough venv.
There should be no need to use both 3.6.1 and 3.6.8,as all Python 3 version is backward compatible.