I made a venv in vscode using python shell to try it out and accidentally deleted all the venv files before deactivating the venv. Now I can't deactivate it.
Again, the og files are GONE.
I've done some research and simply typing "deactivate" didn't even work the first time. Exiting the shell doesn't work. Clearing caches doesn't work. Uninstalling and reintstalling vscode doesn't work. Every time I open the program im in a venv.
Someone please help, I'm at my wits end.
I've also tried sudo commands. The only thing I haven't tried is commands from my OS cmd prompt. Frankly Im too scared I'll mess something up in there if I am just going around deactivating stuff.
Have you tried changing your Python interpreter? In the bottom right of the window, just to the left of the notifications bell, you have the version of your Python interpreter and if it's in a
venv
/conda
virtual environment. If you click on it you will bring up the list of Python interpreters that are currently installed on your computer. Now, click on the 64-bitpython.exe
(the global one). This should get you out of the venv.