79687092

Date: 2025-07-02 08:33:53
Score: 1
Natty:
Report link

An Easy solution to this problem is to

  1. First install your desired verison of python from python.org

  2. During the installation wizard check the add to path option at the bottom of the wizard so that you dont manually have to add python to path from environment variables

  3. Go to the directory where you want to create the python environment

  4. Run the command py -0 to check which python versions you have available

  5. Then run the command "py -//python version// -m venv //environment name// "---> "py -3.9 -m venv env3.9" to create a virtual environment which uses your desired python version

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fauzan Tahir