Using Python Virtual environments
May 1, 2025
8:25 PM
✅ Recommended Practice: Use venv
To safely install Python packages, it's best to use a virtual environment (venv) so everything is isolated.
Here's how to use venv with Python 3.8:

python3.8 -m venv myenv
source myenv/bin/activate