Python Forum
How do I link the virtual environment of that project to the 3.9.2 version of python?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I link the virtual environment of that project to the 3.9.2 version of python?
#1
I install python version 3.9.0 on my PC. I then created my virtual environment, created my project and everything worked really well. After some months I installed the latest version of python (3.9.2) and created virtual environments for projects making use of that version. I now need to make changes to my project that makes use of python version 3.9.0 but when I run the project it gives the error: No Python at 'c:\Users\User-PC\python-versions\py390\python.exe'.

I am not sure what I did wrong to remove the 3.9.0 version of python. But my question is, how do I link the virtual environment of that project to the 3.9.2 version of python on my PC? Or is it better to create a new virtual environment linking to version 3.9.2 and then change the virtual environment inside pycharm to the newly created virtual environment?
Reply
#2
see this post: https://python-forum.io/thread-32135-pos...#pid135764
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python use of virtual environments bre67e49 4 693 Feb-19-2025, 04:01 AM
Last Post: Sece1967
  I cannot create a virtual environment on visual studio code using python Willem_Aucamp316 2 2,726 Nov-27-2024, 02:20 PM
Last Post: menator01
  How to enable Matplotlib within virtual environment? tetris_theMovie 1 1,046 Oct-11-2024, 09:56 AM
Last Post: christie2
  How to find out from outside Python (in Windows) the current version of Python? pstein 5 2,210 Jun-28-2024, 07:02 AM
Last Post: Samuel34
  Need help setting up trusted root ca in virtual environment dstempfley 0 1,174 May-31-2024, 03:14 PM
Last Post: dstempfley
  run part of a script with a different version of Python jdog 3 2,205 May-27-2024, 01:57 AM
Last Post: Alice12
  Help with creating folder and "virtual environment" AudunNilsen 1 974 Mar-21-2024, 04:41 AM
Last Post: deanhystad
  Best practice on using virtual environments in Python bytecrunch 6 12,858 Feb-14-2024, 03:22 PM
Last Post: snippsat
  Virtual Env changing mysql connection string in python Fredesetes 0 947 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  Installing python packages in a virtual environment Led_Zeppelin 1 1,586 Aug-15-2023, 08:18 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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