Update tech_docs/python/Python-Virtual-Environments.md

This commit is contained in:
2024-05-23 16:20:44 +00:00
parent 54a0659158
commit e99d13e570

View File

@@ -13,7 +13,7 @@ This guide provides step-by-step instructions on setting up a Python virtual env
2. **Create the Virtual Environment**
Use the `venv` module to create a virtual environment named `env`.
```bash
python3 -m venv env
python3 -m venv venv
```
## Activating the Virtual Environment
@@ -21,7 +21,7 @@ This guide provides step-by-step instructions on setting up a Python virtual env
1. **Activate the Environment**
Once the environment is created, you need to activate it.
```bash
source env/bin/activate
source venv/bin/activate
```
After activation, your prompt will change to indicate that you are in the virtual environment.