wesm / pydata-book

Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
Other
22.27k stars 15.19k forks source link

[Question] conda install jupyter - What exactly is done here? #187

Open herry23xet opened 1 year ago

herry23xet commented 1 year ago

When installing "Jupyter Notebook" or "JupyterLab" according to the instructions in the book, a question came to my mind: The official website says XY install jupyterlab or XY install notebook to install "Jupyter Notebook" or "JupyterLab". Now the book says in chapter 1 that you should use the command conda install -y pandas jupyter matplotlib. Here the part about Jupyter: XY install jupyter is used. What is this different from between the Book and the official website? Is the same thing being installed or is it different?

And another question: If in the book is changed to the channel conda-forge, could not be recommended miniforge or mambaforge?

wesm commented 1 year ago

I'm actually in the process of revising this part of the book slightly so that both Jupyter/JupyterLab are installed so users have the option of using either. The book will continue to focus on the regular Jupyter notebook versus JupyterLab, though.

Regarding miniforge/mambaforge — since many people will get Anaconda (versus miniconda), specifying the channel seems like the safest / most reliable option for the book to minimize reader pain.

MaxforCherubim commented 4 months ago

In fact, conda install jupyter notebook is means to install packages jupyter and notebook. You can try only conda install notebook, it is the same. Command conda install jupyterlab is not as the same as other command, things change a little. So for precise statement, we can just use conda install jupyter and do some explaination of difference between the Book and the official website.