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