0

Why does my python version/path change from 3.11 to 3.7 when I activate the venv.

I have already set the PowerShell path to 3.11.1 which is recognized by Python before activating the venv and once it's deactivated.

  • 2
    The virtual environment has its *own* Python installation, independent of the system Python. Upgrading the latter does not automatically change the former. Apparently, you created the virtual environment using Python 3.7. – chepner Jan 12 '23 at 19:12

0 Answers0