-->

viernes, 17 de julio de 2020

Installing the Jupyter Software

 
Anaconda is a package manager, an environment manager, and Python distribution that contains a collection of many open source packages. An installation of Anaconda comes with many packages such as numpy, scikit-learn, scipy, and pandas preinstalled and is also the recommended way to install Jupyter Notebooks. This tutorial will include:


With that, let’s get started

Graphical Installation of Anaconda

Installing Anaconda using a graphical installer is probably the easiest way to install Anaconda.

1 ‒ Go to the Anaconda Website and choose a Python 3.x graphical installer (A) or a Python 2.x graphical installer (B). If you aren’t sure which Python version you want to install, choose Python 3. Do not choose both.


2 - Locate your download and double click it.


3 - Click on Continue

4 - Click on Continue
5 - Note that when you install Anaconda, it modifies your bash profile with either anaconda3 or anaconda2 depending on what Python version you choose. This can important for later. Click on Continue.
6 - Click on Continue to get the License Agreement to appear.
7 - Click on Install



8 - You’ll be prompted to give your password, which is usually the one that you also use to unlock your Mac when you start it up. After you enter your password, click on Install Software.

9 - Click on Continue. It is an Integrated Development Environment. You can learn about Python Integrated Development Environments here.


10 - You should get a screen saying the installation has completed. Close the installer and move it to the trash.



Test your Installation

1 - Open a new terminal on your Mac. You can do this by clicking on the Spotlight magnifying glass at the top right of the screen, type “terminal” then click on the terminal icon. Now, type the following command into your terminal

python --version




2 - Another good way to test your installation is to try and open a Jupyter Notebook. You can type the command below in your terminal to open a Jupyter Notebook. If the command fails, chances are that Anaconda isn’t in your path. See the next section on Common Issues.

jupyter notebook





The image below shows a Jupyter Notebook in action. terminal will open Safari asap. Jupyter notebooks contain both code and rich text elements, such as figures, links, and equations. You can learn more about Jupyter Notebooks here.




No hay comentarios:

Publicar un comentario