Last answered:

24 Jun 2021

Posted on:

22 Jun 2021

0

Resolved: Installing packages: jupyter notebook vs command prompt

Hi! What's the difference between installing packages in the jupyter notebooks and in the command prompt?

3 answers ( 1 marked as helpful)
Instructor
Posted on:

23 Jun 2021

1

Hi Jaiswal!

Thanks for reaching out.

We need the Anaconda prompt to install packages in our environment(s), i.e. - on our computer. These are files containing code that we can reuse in our work in Python.
Then, we are using Notebook Documents to code in Python, i.e. to work with any built-in or installed package. Since you may have installed many packages and libraries, you'll probably not need them in every piece of work. That's why, in every separate Jupyter Notebook Document, we need to import a package that we intend to use throughout that particular piece of work.

Hope this helps but please feel free to get back to us should you need further assistance. Thank you.
Best,
Martin

Posted on:

23 Jun 2021

0

Thank you!

Instructor
Posted on:

24 Jun 2021

0

You are very welcome!
Best,
Martin

Submit an answer