Is there an environment variable i can set to direct applications to a specific version of python?

I have a good couple versions of python installed, seems a lot of apps don’t want to play well with python 3.12 and i can’t exactly uninstall it because there are things that depend on it and the system expects it to be there, but i also have 3.11 and 3.10.

Is there an environment variable i could set so a program would try to use one of those instead of 3.12 when i run it?

You need to setup a virtual environment:

1 Like

how do i make sure an application uses the venv i set up tho?

You activate the virtual environment, which modifies the PATH environment variable so that the correct Python interpreter and installed packages are used. Then you run the application like normal.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.