Python Forum
Default python version on Windows (3.6.x vs 3.6.y)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Default python version on Windows (3.6.x vs 3.6.y)
#1
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 ?
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Query on choosing Python 3.8.6 version sureshnagarajan 0 1,789 Feb-16-2021, 05:30 AM
Last Post: sureshnagarajan
  Which Python Version? muzikman 15 5,066 Jan-19-2021, 02:16 PM
Last Post: muzikman
  Python/winrt support for python 3.8 version pbvinoth 2 3,642 Jul-08-2020, 02:03 PM
Last Post: snippsat
  Issue with 2 version of python (2.6.6 and 2.7) with pip himupant94 2 3,187 Apr-24-2020, 03:23 AM
Last Post: himupant94
  Old Python-version used by IDLE GeNoS 7 4,149 Apr-13-2019, 08:04 PM
Last Post: Gribouillis
  Trouble installing a old version of python - 3.4.1 alex8obrien 2 2,748 Apr-09-2019, 06:28 AM
Last Post: alex8obrien
  a special version of the python command Skaperen 6 4,079 Apr-06-2019, 02:25 PM
Last Post: Gribouillis
  Distributing custom version of Python touc82 1 2,065 Mar-23-2019, 03:23 PM
Last Post: Larz60+
  Python 3 default location huehue 4 5,416 Sep-11-2018, 01:23 PM
Last Post: snippsat
  Understanding Python version releases venami 3 3,073 Aug-24-2018, 09:56 PM
Last Post: venami

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020