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
  Help with creating folder and "virtual environment" AudunNilsen 1 249 Mar-21-2024, 04:41 AM
Last Post: deanhystad
  Best practice on using virtual environments in Python bytecrunch 6 859 Feb-14-2024, 03:22 PM
Last Post: snippsat
  run part of a script with a different version of Python jdog 2 460 Jan-09-2024, 08:49 PM
Last Post: jdog
  Virtual Env changing mysql connection string in python Fredesetes 0 383 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  How to find out from outside Python (in Windows) the current version of Python? pstein 4 752 Oct-04-2023, 10:01 AM
Last Post: snippsat
  Installing python packages in a virtual environment Led_Zeppelin 1 775 Aug-15-2023, 08:18 PM
Last Post: deanhystad
  Understanding venv; How do I ensure my python script uses the environment every time? Calab 1 2,291 May-10-2023, 02:13 PM
Last Post: Calab
  Python development environment standenman 3 1,646 May-04-2023, 07:24 PM
Last Post: snippsat
  How to resolve version conflicts in Python? taeefnajib 0 933 Apr-27-2023, 08:37 PM
Last Post: taeefnajib
  Problem with virtual environment standenman 2 1,013 Feb-23-2023, 07:09 PM
Last Post: standenman

Forum Jump:

User Panel Messages

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