python module install a whl

pip install some-package.whl

Here is what the above code is Doing:
1. It’s creating a virtual environment in the directory /path/to/venv.
2. It’s activating the virtual environment.
3. It’s installing some-package.whl into the virtual environment.
4. It’s deactivating the virtual environment.

If you want to use the virtual environment, you’ll need to activate it again.

$ source /path/to/venv/bin/activate

(venv) $ # your prompt will change to show that you’re in a virtual environment

(venv) $ pip install some-package

(venv) $ pip freeze
some-package==1.0.0

(venv) $ deactivate

$ # your prompt will change back to show that you’re no longer in a virtual environment

$ pip freeze