I struggle with virtual enviroment:
when I try to create env to my project like this
PS D:\Programowanie ;3\Python\DjangoProjects\VeryFirstDjangoProject> python -m virtualenv venv
created virtual environment CPython3.9.1.final.0-64 in 253ms
creator CPython3Windows(dest=D:\Programowanie ;3\Python\DjangoProjects\VeryFirstDjangoProject\venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\vigor\AppData\Local\pypa\virtualenv)
added seed packages: pip==21.1.1, setuptools==56.0.0, wheel==0.36.2
activators BashActivator,BatchActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
PS D:\Programowanie ;3\Python\DjangoProjects\VeryFirstDjangoProject> venv\Scripts\activate
it contains also global packages which I don't want.
(venv) PS D:\Programowanie ;3\Python\DjangoProjects\VeryFirstDjangoProject> pip list
Package Version
----------------- -------
appdirs 1.4.4
asgiref 3.4.1
astroid 2.4.2
colorama 0.4.4
cycler 0.10.0
distlib 0.3.1
Django 3.2.6
filelock 3.0.12
isort 5.7.0
kiwisolver 1.3.2
lazy-object-proxy 1.4.3
mccabe 0.6.1
numpy 1.21.2
Pillow 8.3.1
pip 21.2.4
pylint 2.6.0
pyparsing 2.4.7
python-dateutil 2.8.2
pytz 2021.1
setuptools 49.2.1
six 1.15.0
sqlparse 0.4.1
toml 0.10.2
virtualenv 20.4.6
wrapt 1.12.1
Confusing thing is that when I look at the folder venv\Lib\site-packages there is no global packages in it, but as you can see above they appear on the pip list that was typed in running environment. Next thing is that when I install a package in my running venv it is also installed globally and vice versa.
It looks as if despite creating and activating venv "global python" was still running.
What I expect is when creating new venv it should contain only default packages without any packages that were installed before globally.
Here is what I've read before posting my question, but unfortunately I couldn't find there a specific guide what to do to fix that problem. virtualenv --no-site-packages and pip still finding global packages?
Please be understanding, I'm newbie in that world and i feel a little bit lost and overwhelmed by that kind of problems...