Ensure you have Python and pip installed :
**python --version**
**pip --version**
Create a virtual environment `myenv` (you can name it anything you like) :
**python -m venv myenv**
Activate the virtual environment (on Windowa):
**myenv\Scripts\activate**
OR
Activate the virtual environment (on macOS/Linux):
**source myenv/bin/activate**
Install the desired Python package :
**pip install <package name>**
Verify the installation:
**pip list**