git://git.nikiroo.be
/
notes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dee61c
)
new: python venv
author
Niki Roo
<niki@nikiroo.be>
Sat, 30 Aug 2025 10:13:14 +0000
(12:13 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Sat, 30 Aug 2025 10:13:14 +0000
(12:13 +0200)
Tech/python/Virtual Environments (venv).md
[new file with mode: 0644]
patch
|
blob
diff --git a/Tech/python/Virtual Environments (venv).md
b/Tech/python/Virtual Environments (venv).md
new file mode 100644
(file)
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`
+