introduction-to-conda-for-data-scientists
introduction-to-conda-for-data-scientists copied to clipboard
Demonstrate effect of conda activate
In 02-working-with-environments
, around the first time conda activate
is run, it would be beneficial to demonstrate the effect of the command by something like:
- run
$ python
(to get into the interactive Python editor) *attempt to import a package so aModuleNotFoundError
appears - then run
conda activate basic-scipy-env
- now redo the import showing that the package now is there
This requires the package not to be installed in the base installation. Alternatively, different versions of Python can be used (the Python editor first shows which version is used).