Virtual environment confusion

118 Views Asked by At

i've created some virtual environment called timeseries. there is no library called in it right now, except for pip and setuptools. now i go on to jupyter and select this kernel, and run "pip list". to my surprise, i see all the packages in my general python3 kernel. i've searched on the google but nothing to be found. Please help, this is really driving me mad

virtual environment now showing right packages

EDIT: i'm trying different combinations, one of which is: i activated the virtual env in cmd, and started jupyter there, and went into the folder where the vir.env. is, run "!pip list", and i saw the packages i was supposed to see, but went on investigating, then run 2 commands that are below. how come is this possible?

enter image description here

1

There are 1 best solutions below

0
On

Finally, I've found the solution. this is so weird, coz nobody has mentioned this so far. the thing is, one is supposed to install the jupyter as well within the virtual environment and launch it from command line when the virtual environment is active.