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: notebooks/installing_Python.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,15 +123,13 @@ create an environment with a specific version of Python
123
123
>conda create --name new_env python=3.8.1
124
124
125
125
create an environment named "SCIENV" with the libraries numpy, scipy, matplolib and jupyterlab (conda will take care of including all the necessary dependencies)
create an environment named "image" with the library scikit-image and all the neccesary dependencies
129
129
>conda create --name image scikit-image
130
130
131
131
remove an existing environment (make sure you are not in the environment you want to remove)
132
132
>conda env remove --name <ENVNAME>
133
-
or
134
-
>conda remove --name <ENVNAME> --all
135
133
```
136
134
137
135
@@ -154,12 +152,12 @@ This will create a new conda environment called with the name defined within the
154
152
155
153
To create an ``environment.ylm`` file from a specific conda environment do as follows
156
154
157
-
```
158
-
>conda activate my_env
155
+
```markdown
156
+
>conda activate <ENVNAME>
159
157
>conda env export > environment.yml
160
158
```
161
159
162
160
This command will export the list of packages and their versions that are installed in the current active conda environment so that you can quickly share it with anyone.
163
161
164
162
> [!TIP]
165
-
> Sharing Conda environments with other researchers facilitates reproducibility in research. So we encourage you to create and share environment.yml files in which you have conducted the data analysis every time you make a scientific publication.
163
+
> Sharing conda environments with other researchers facilitates reproducibility in research. So we encourage you to create and share environment.yml files in which you have conducted the data analysis every time you make a scientific publication.
0 commit comments