I created a virtual environment in a Windows terminal using the standard:
python -m venv {venv name}
Everything works as far as I can tell, but when I change into the "Scripts" directory and run "activate" (or even ".\activate"), I get the message "The system cannot find the path specified." The resulting command prompt seems to indicate the venv
is activated:
Using pip list
indicates that I'm indeed in the virtual environment, so it seems the message is erroneous or referring to some other process going on behind the scenes.
The main reason I ask this question is because I've been trying to use the venv
in VSCode but am unable to execute Python code in the Python Interactive window ("Stderr from shellexec, the system cannot find the path specified..."
is a message I get followed by a reference to two Python files VSCode cannot seem to locate -- although they are indeed in the folder the message indicates).
I'm thinking this might have something to do with it, and have searched for days online and on SO for an answer to no avail.
*There is no script folder for windows,use bin
Replace the SpiderX using your username