aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-01-20 10:40:11 +0000
committerGravatar GitHub <[email protected]>2021-01-20 10:40:11 +0000
commitfddde4c27ab0a75d861a42535b52986aae7ca429 (patch)
tree68b16546a3ad609f33c0e908cce43d9bfdecd5bc
parentAdd a section on why to use a virtual env (diff)
Apply suggestions from code review
Grammar Co-authored-by: Mark <[email protected]>
-rw-r--r--bot/resources/tags/environments.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/resources/tags/environments.md b/bot/resources/tags/environments.md
index df04b2770..51d1b4a20 100644
--- a/bot/resources/tags/environments.md
+++ b/bot/resources/tags/environments.md
@@ -9,9 +9,9 @@ To see the current environment in use by Python, you can run:
/usr/bin/python3
```
-To see the environment in use by pip, you can do `pip debug` (`pip3 debug` for Linux/macOS). The 3rd line of the output will contain the path in use. e.g. `sys.executable: /usr/bin/python3`.
+To see the environment in use by pip, you can do `pip debug` (`pip3 debug` for Linux/macOS). The 3rd line of the output will contain the path in use e.g. `sys.executable: /usr/bin/python3`.
-If Python's `sys.executable` doesn't match pip's then they are currently using different environments! This may cause Python to raise a `ModuleNotFoundError` when you try to use a package you just installed with pip, as it was installed to a different environment.
+If Python's `sys.executable` doesn't match pip's, then they are currently using different environments! This may cause Python to raise a `ModuleNotFoundError` when you try to use a package you just installed with pip, as it was installed to a different environment.
**Why use a virtual environment?**