Setup and use Virtualenv in Python Applications
Wesley Bertipaglia
Posted on April 11, 2024
virtualenv is a simple to use tool to create isolated Python environments.
For more information visit: virtualenv documentation.
Installation:
pip install virtualenv
Creating a Virtual Environment:
virtualenv <env_name>
Activating the Virtual Environment:
- On Unix-like systems (Unix, Linux, or MacOS): ```bash
source /bin/activate
- On Windows:
```bash
<env_name>\Scripts\activate
Deactivating the Virtual Environment:
deactivate
💖 💪 🙅 🚩
Wesley Bertipaglia
Posted on April 11, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.