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

This commit is contained in:
2024-04-17 04:45:36 +00:00
parent dc012777b2
commit 7509337620

View File

@@ -63,6 +63,22 @@ This guide provides step-by-step instructions on setting up a Python virtual env
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
- Always activate your virtual environment before working on your project.