0% found this document useful (0 votes)
54 views1 page

How To Install A Python Package Using Pip in Bench

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views1 page

How To Install A Python Package Using Pip in Bench

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

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**

You might also like