VirtualEnv activated but not working

Hi,

So i have been using pycharm and virtual env on windows 10 for months now without issues

I create an environment with python -m venv venv, cd into venv and then use "scripts\activate" and it works.

But yesterday I noticed that i had a lot more packages installed on my host than i expected. And i noticed that when i do scripts\activate, i get this error "The system cannot find the path specified." HOWEVER, the terminal still goes on to indicate that the virtual environment has been activated.
So i have this "(venv) C:\Users\Admin\Desktop\Projects\Ecomm & Api>" But when i do "pip list" i get all the packages currently installed on my host, and when i install new packages, they are installed on my host.

I have uninstalled and reinstalled python and pycharm, i have checked my registry and i dont have an "autorun", i have checked that python is on systems path by adding "C:\Users\Admin\AppData\Local\Programs\Python\Python39" to it. I believe its a pycharm issue because activating and using virtual environment works as it should on vscode but i prefer pycharm. Any help would be very appreciated. Thanks

1

Please sign in to leave a comment.