introduction-to-conda-for-data-scientists icon indicating copy to clipboard operation
introduction-to-conda-for-data-scientists copied to clipboard

Demonstrate effect of conda activate

Open lexnederbragt opened this issue 3 years ago • 1 comments

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 a ModuleNotFoundError 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).

lexnederbragt avatar Jan 08 '21 12:01 lexnederbragt