by Casey Anderson
- Adafruit HUZZAH32 – ESP32 Feather Board
- USB MicroB Cable
-
Do you have Xcode? To check go to the terminal and execute
xcode-select -p
- If
/Applications/Xcode.app/Contents/Developer
(or something similar) appears as a response proceed to the next step - If anything else happens download and install
Xcode
from here before moving on
- If
-
Enter
xcode-select --install
into the terminal, which should result in something like this: -
Click
Install
to download and install the Xcode Command Line Tools.
-
Copy and paste this code into the terminal and press
enter
to install homebrew:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
If prompted, agree to the Xcode license by executing
sudo xcodebuild -license
in the terminal -
Search to see if something is available on
homebrew
withsearch
:brew search python3
- Install Python3 via Homebrew:
brew install python3
PyPi is frequently referred to as pip
. It is used to manage Python library installations and ships with Python3 when installed via Homebrew. The command to use it is pip3
.
- Make sure
pip3
is up to date:pip3 install --upgrade pip
- Search for something on
pip3
withsearch
:pip3 search jupyter
- Install Jupyter via
pip3
:pip3 install jupyter
- Start the Jupyter Notebook IDE:
jupyter notebook
- On the Jupyter homepage click
New
and select Python3. This will create and open an iPython Notebook file. - Click
File
, selectSave As
and name the file - Click
File
and selectClose and Halt
to exit - On the Jupyter homepage check to make sure the iPython Notebook file (
.ipynb
) that you just saved exists