I have a problem with installing modules in the virtual environment. When I install a module, for example, a module request, and then try to type pip list
, there are several modules that I have never installed before appearing.
This was when I first made it :
Package Version
---------- -------
pip 20.2.3
setuptools 41.2.0
and this is the first module I want to install which is requests:
Package Version
---------- ---------
certifi 2020.6.20
chardet 3.0.4
idna 2.10
pip 20.2.3
requests 2.24.0
setuptools 41.2.0
urllib3 1.25.10
I want to create requirements.txt for my application but when I install every module I need, more modules that are not needed appear.
I saw tutorials about virtual environments and I did not find them experiencing this.
How do I solve the problem?