Update tech_docs/python/Python-Virtual-Environments.md
This commit is contained in:
@@ -13,7 +13,7 @@ This guide provides step-by-step instructions on setting up a Python virtual env
|
|||||||
2. **Create the Virtual Environment**
|
2. **Create the Virtual Environment**
|
||||||
Use the `venv` module to create a virtual environment named `env`.
|
Use the `venv` module to create a virtual environment named `env`.
|
||||||
```bash
|
```bash
|
||||||
python3 -m venv env
|
python3 -m venv venv
|
||||||
```
|
```
|
||||||
|
|
||||||
## Activating the Virtual Environment
|
## 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**
|
1. **Activate the Environment**
|
||||||
Once the environment is created, you need to activate it.
|
Once the environment is created, you need to activate it.
|
||||||
```bash
|
```bash
|
||||||
source env/bin/activate
|
source venv/bin/activate
|
||||||
```
|
```
|
||||||
After activation, your prompt will change to indicate that you are in the virtual environment.
|
After activation, your prompt will change to indicate that you are in the virtual environment.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user