CircuitPython with Jupyter Notebooks - Adafruit Industries
CircuitPython with Jupyter Notebooks
Created by Brent Rubell
Last updated on 2021-11-15 07:13:41 PM EST
?Adafruit Industries
Page 1 of 26
Table of Contents
Overview
3
? What's a Jupyter Notebook?
4
Installing on Mac and Linux
4
? Installing Jupyter
5
? Install Jupyter with PIP
5
? Starting the Notebook Server
6
? Installing the CircuitPython Kernel
7
Installing on Windows
8
? Installing the CircuitPython Kernel
12
Using Jupyter Notebooks
15
? Mac or Linux
15
? Windows
15
? Load up the Example Folder
15
? Plug In The CircuitPython Board
17
? Launch the CPX Blinka Example
17
? Troubleshooting
19
Creating Jupyter Notebooks
19
? Creating a CircuitPython Jupyter Notebook
19
? Navigating Jupyter Notebooks
20
? Jupyter Modes
21
? Using Cells
21
? Managing Notebooks
22
? Troubleshooting the Kernel
23
Sharing Jupyter Notebooks
24
? Sharing Locally
24
? Sharing Online
25
? GitHub
25
? nbviewer
26
?Adafruit Industries
Page 2 of 26
Overview
Jupyter lets you create interactive notebooks containing code, text, and rich media that you can share with your friends.
We created a Jupyter Notebook package (called a Kernel) for you to run CircuitPython code directly from a Jupyter interactive notebook.
That means your code lives in your web-browser and executes on the CircuitPython hardware through a serial USB link.
We're going to learn how to combine Jupyter with CircuitPython () to create interactive notebooks for your hardware.
?Adafruit Industries
Page 3 of 26
What's a Jupyter Notebook?
The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.
This is great news for people who are already comfortable with Jupyter, but also for educators, developers and workshop-organizers.
In this learn guide, we're going to walk through installing Jupyter Notebook, installing the Jupyter CircuitPython kernel, and uploading Jupyter Notebook examples.
Installing on Mac and Linux
The installation process for Jupyter and the CircuitPython kernel is a bit lengthy, but it's not difficult. If you don't already have Jupyter installed, you'll need to install it before we install the kernel.
If you have a WIndows machine, please skip to the next page with Windows specific installation instructions.
?Adafruit Industries
Page 4 of 26
Installing Jupyter
Install Jupyter with Anaconda
Don't have a Python installation on your computer? If you're new to all this, the Jupyter Project recommends installing Anaconda (), which installs Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.
First, navigate to the Anaconda downloads page (), select your platform (Windows, Mac, Linux), and download the installer including Python 3.6+.
Install the version of Anaconda you downloaded by following the instructions in the installation executable.
Install Jupyter with PIP
The CircuitPython Jupyter Kernel requires a Python 3.6+ installation.
If you have a Python installation already on your computer, you may want to use the Python Package Manager (pip ()) instead of Anaconda. If you're not sure which Python version is installed, you can check by running:
python3 --version
Next, let's ensure we also have the latest version of the Python Package Manager. We can do this by running:
?Adafruit Industries
Page 5 of 26
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- getting started with python and jupyternotebook
- middle tennessee state university
- free anaconda python 3 6 32 bit
- jupyterlab notebook cheatsheet anaconda
- jupyterlab user cheatsheet
- course notebook source is installed introduction to
- instructions for setting up jupyter notebook
- math 195 python project some useful tips for jupyter
- setting up python pytorch and jupyter on windows
- computation class 1 introduction to python vpython and
Related searches
- move onenote notebooks to onedrive
- move onenote 2016 notebooks to onedrive
- jupyter notebooks in pycharm
- coding notebooks to install
- installing jupyter notebooks on windows
- how to download jupyter with pip
- jupyter notebooks tutorial
- best smart notebooks 2020
- install jupyter with anaconda
- best notebooks for taking notes
- 5 subject notebooks with dividers
- getting started with jupyter notebooks