@@ -69,6 +69,12 @@ feature, code or documentation improvement).
69
69
.. prompt :: bash $
70
70
71
71
conda create -n sklearn-env -c conda-forge python=3.9 numpy scipy cython
72
+
73
+ It is not always necessary but it is safer to open a new prompt before
74
+ activating the newly created conda environment.
75
+
76
+ .. prompt :: bash $
77
+
72
78
conda activate sklearn-env
73
79
74
80
#. **Alternative to conda: ** If you run Linux or similar, you can instead use
@@ -287,6 +293,12 @@ scikit-learn from source:
287
293
288
294
conda create -n sklearn-dev -c conda-forge python numpy scipy cython \
289
295
joblib threadpoolctl pytest compilers llvm-openmp
296
+
297
+ It is not always necessary but it is safer to open a new prompt before
298
+ activating the newly created conda environment.
299
+
300
+ .. prompt :: bash $
301
+
290
302
conda activate sklearn-dev
291
303
make clean
292
304
pip install -v --no-use-pep517 --no-build-isolation -e .
@@ -307,12 +319,6 @@ forge using the following command:
307
319
308
320
which should include ``compilers `` and ``llvm-openmp ``.
309
321
310
- .. note ::
311
-
312
- If you installed these packages after creating and activating a new conda
313
- environment, you will need to first deactivate and then reactivate the
314
- environment for these changes to take effect.
315
-
316
322
The compilers meta-package will automatically set custom environment
317
323
variables:
318
324
@@ -428,6 +434,12 @@ in the user folder using conda:
428
434
429
435
conda create -n sklearn-dev -c conda-forge python numpy scipy cython \
430
436
joblib threadpoolctl pytest compilers
437
+
438
+ It is not always necessary but it is safer to open a new prompt before
439
+ activating the newly created conda environment.
440
+
441
+ .. prompt :: bash $
442
+
431
443
conda activate sklearn-dev
432
444
pip install -v --no-use-pep517 --no-build-isolation -e .
433
445
0 commit comments