In this tutorial I am going to show how to install Jupyter in the ZYBO board using a version of Linux-Debian. The previous steps to run the Linux on Zybo can be found on the other Linux-Zybo tutorials.
Also the library Matplotlib is going to be installed. This library helps with the plot of graphs, making it easy and interactive.
1- First, you have to connect to the Zybo board, as shown before via Ethernet. Now you have to share internet with the board. Normally on your Linux-computer, you should receive internet connection via Wifi. Now you have to share this via Ethernet port.
Open a terminal window and the write the following command to see the available connections on the system:
Now all the connections are shown, at least the wlan and the ethernet connection with the Zybo board.
In my case, the name of the ethernet connection is enxa0cec808ceb6
Now to activate the net, we try with the commands to switch off/on and it should work.
Now to check if the internet connection is arriving to the Ahora deberemos tener internet y Ethernet a la vez.
Using the ping command on the terminal:
2- To install Python 3 and the libraries Numpy and Matplotlib from the terminal, you will need the following commandos:
This will install the packages. (note in my case it only actualized it because I had already installed, when I run the commands)
Open the Safari/Mozilla or equivalent and now you can introduce the address of the notebook. If you dont change anything, you should get the default address:
The Dashboard of Jupyter will open showing the root of the Zybo SD card.
|Dashboard the Jupyter notebook|
To start writing the first code, we need to create a new Python 3 file by clicking on "new" (or 2.7 if you have this version of Python installed):
|Create a new Python 3 file|
Remember that to execute the code, you should press "Shift + Enter".
Note: In the last versions of Jupyter, by default, the authentication is activated. In the case, the ask you for a password, you should write on the terminal the command:
This will return the Jupyter servers opening (normally it should be one). It will give you a url or a token, which you can open the Jupyter in the web browser. In my case it was like this:
|Jupyter url token|