efxtv

Create a Virtual Environment Python

Mar 4th, 2025 (edited)
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | Cybersecurity | 0 0
  1. ERROR: × This environment is externally managed fixed
  2.  
  3. ##################################################################
  4. Join our telegram channel for more : https://t.me/LinuxClassesEFXTv
  5. ##################################################################
  6.  
  7. 1. Create a Virtual Environment Python
  8. A virtual environment allows you to install Python packages locally without affecting your system-wide Python environment. Here's how you can set one up:
  9.  
  10. # Install Virtual Environment Python
  11. sudo apt install python3-venv
  12. python3 -m venv myenv
  13. source myenv/bin/activate
  14.  
  15. # To deactivate
  16. deactivate
Tags: python env
Advertisement
Add Comment
Please, Sign In to add comment