Update docs/tech_docs/python/Python-Virtual-Environments.md
This commit is contained in:
@@ -64,19 +64,29 @@ This guide provides step-by-step instructions on setting up a Python virtual env
|
|||||||
```
|
```
|
||||||
|
|
||||||
# Deactivate the current environment
|
# Deactivate the current environment
|
||||||
deactivate
|
```bash
|
||||||
|
deactivate
|
||||||
|
```
|
||||||
|
|
||||||
# Remove the environment directory (be careful with this command)
|
# Remove the environment directory (be careful with this command)
|
||||||
|
```bash
|
||||||
rm -rf env
|
rm -rf env
|
||||||
|
```
|
||||||
|
|
||||||
# Recreate the virtual environment
|
# Recreate the virtual environment
|
||||||
|
```bash
|
||||||
python3 -m venv env
|
python3 -m venv env
|
||||||
|
```
|
||||||
|
|
||||||
# Activate the environment
|
# Activate the environment
|
||||||
|
```bash
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
|
```
|
||||||
|
|
||||||
# Install python-docx package
|
# Install python-docx package
|
||||||
|
```bash
|
||||||
pip install python-docx
|
pip install python-docx
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Tips
|
## Tips
|
||||||
|
|||||||
Reference in New Issue
Block a user