You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/day2/use_isolated_environments.rst
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,8 +135,8 @@ With this tool you can download and install with ``pip`` from the `PyPI reposito
135
135
- These are almost completely interchangeable
136
136
- The difference being that **virtualenv supports older python versions** and has a few more minor unique features, while **venv is in the standard library**.
- Next steps are identical and involves "activating" and ``pip install``
141
141
- We recommend ``venv`` in the course. Then we are just needing the Python module itself!
142
142
@@ -175,9 +175,14 @@ With this tool you can download and install with ``pip`` from the `PyPI reposito
175
175
.. note::
176
176
177
177
- You can use "pip list" on the command line (after loading the python module) to see which packages are available and which versions.
178
-
- Some packages may be inhereted from the moduels yopu have loaded
178
+
- Some packages may be inhereted from the modules you have loaded
179
179
- You can do ``pip list --local`` to see what is installed by you in the environment.
180
180
- Some IDE:s like Spyder may only find those "local" packages
181
+
- To save space, you should load any other Python modules you will need that are system installed before installing your own packages! Remember to choose ones that are compatible with the Python version you picked!
182
+
- ``--system-site-packages`` includes the packages already installed in the loaded python module.
183
+
- The ``--no-cache-dir"`` option is required to **avoid it from reusing earlier installations from the same user in a different environment**.
184
+
- The ``--no-build-isolation`` is to make sure that it uses the loaded modules from the module system when **building any Cython libraries**.
0 commit comments