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: conda.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,8 +125,14 @@
125
125
This will create a new environment named `bestpractices_final` with
126
126
all the packages specified in the *environment.yml* file.
127
127
Activating the new environment as before, using `conda activate bestpractices_final` (why is this the name?) and try running `python --version`. Try running `conda list` to see all the installed
128
-
packages. Everything listed at environment.yml should be there, along with all
129
-
dependencies.
128
+
packages. Everything listed in the `environment.yml` should be there, along with all
129
+
dependencies.
130
+
Note: The `pip` equivalent, *once you have an activated virtual environment with a Python interpreter*, is:
131
+
132
+
```bash
133
+
pip install -r requirements.txt
134
+
```
135
+
This will install all packages listed in a `requirements.txt` file from PyPI.
130
136
131
137
6. A final tip: append `--dry-run` to your `conda` commands to see what they will do without actually making any changes.
0 commit comments