From: Niki Roo Date: Sat, 30 Aug 2025 10:13:14 +0000 (+0200) Subject: new: python venv X-Git-Url: http://git.nikiroo.be/?a=commitdiff_plain;h=4d98f6c26c023405201c0e02cc98104857e6f191;p=notes.git new: python venv --- diff --git a/Tech/python/Virtual Environments (venv).md b/Tech/python/Virtual Environments (venv).md new file mode 100644 index 0000000..aca79d2 --- /dev/null +++ b/Tech/python/Virtual Environments (venv).md @@ -0,0 +1,7 @@ +# Virtual Environments (venv) + +How to use PIP (Python in Python) with venv (Virtual ENVironment)? +* make a new venv: `python -m venv (--without-pip) Workspace/pyenv/new_project` +* enter the venv: `. Workspace/pyenv/new_project/bin/activate` +* ...you are now running in your virtual environment, you can use `pip` +