how to know in which environment python package is installed code example
Example 1: creating virtual environment python
python3 -m venv tutorial-env
#name : tutorial-env
tutorial-env\Scripts\activate #activate env
deactivate #deactivate env
Example 2: activate virtual environment python
source virtual/bin/activate