From 39cf59d41d7e52b43a28b2efa9a8188a9bf4cf48 Mon Sep 17 00:00:00 2001 From: apt105 <73254487+apt105@users.noreply.github.com> Date: Sat, 15 May 2021 19:45:05 +0100 Subject: [PATCH] Update installation.md --- website/docs/software/python/installation.md | 161 +++++++++---------- 1 file changed, 80 insertions(+), 81 deletions(-) diff --git a/website/docs/software/python/installation.md b/website/docs/software/python/installation.md index b58cfe71..f4cde158 100644 --- a/website/docs/software/python/installation.md +++ b/website/docs/software/python/installation.md @@ -20,99 +20,98 @@ Installation is easily done through the [Python package installer pip](https://p {label: 'macOS', value: 'macos'}, {label: 'Windows', value: 'windows'}, ]}> - - - - Check that your computer has the required serial drivers installed - * Connect your Meshtastic device to your USB port - * Use the command - ```bash - lsusb - ``` - * You should see something like `CP210X USB to UART Bridge Controller` - * If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers). - - Check that your computer has Python 3 installed. - * Use the command - ```bash - python3 -V - ``` - * If this does not return a version, install [python](https://www.python.org) - - Pip is typically installed if you are using python 3 version >= 3.4 - * Check that pip is installed using this command - ```bash - pip3 -V - ``` - * If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/) - - Install pytap2 + +- Check that your computer has the required serial drivers installed + * Connect your Meshtastic device to your USB port + * Use the command ```bash - sudo pip3 install --upgrade pytap2 + lsusb ``` - - Install meshtastic: + * You should see something like `CP210X USB to UART Bridge Controller` + * If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers). +- Check that your computer has Python 3 installed. + * Use the command ```bash - sudo pip3 install --upgrade meshtastic + python3 -V ``` - - - - Check that your computer has the required serial drivers installed - * Connect your Meshtastic device to your USB port - * Navigate to `Apple Menu  > About This Mac > System Report... > Hardware > USB` - * You should see something like `CP210X USB to UART Bridge Controller` - * If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers). - - Check that your computer has Python 3 installed. - * Use the command + * If this does not return a version, install [python](https://www.python.org) +- Pip is typically installed if you are using python 3 version >= 3.4 + * Check that pip is installed using this command + ```bash + pip3 -V + ``` + * If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/) +- Install pytap2 + ```bash + sudo pip3 install --upgrade pytap2 + ``` +- Install meshtastic: + ```bash + sudo pip3 install --upgrade meshtastic + ``` + + +- Check that your computer has the required serial drivers installed + * Connect your Meshtastic device to your USB port + * Navigate to `Apple Menu  > About This Mac > System Report... > Hardware > USB` + * You should see something like `CP210X USB to UART Bridge Controller` + * If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers). +- Check that your computer has Python 3 installed. + * Use the command + ```bash + python3 -V + ``` + * If this does not return a version, install [python](https://www.python.org) + * The following uses Homebrew to install `python3` which includes `pip3`. + * Check if you have Homebrew installed with the following command ```bash - python3 -V + brew -v ``` - * If this does not return a version, install [python](https://www.python.org) - * The following uses Homebrew to install `python3` which includes `pip3`. - * Check if you have Homebrew installed with the following command - ```bash - brew -v - ``` - If it's not installed, follow the instructions on the [Homebrew website](https://brew.sh) before continuing. - * Install Python3 - ```bash - brew install python3 - ``` - - Pip is typically installed if you are using python 3 version >= 3.4 - * Check that pip is installed using this command + If it's not installed, follow the instructions on the [Homebrew website](https://brew.sh) before continuing. + * Install Python3 ```bash - pip3 -V + brew install python3 ``` - * If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/) - - Install pytap2 +- Pip is typically installed if you are using python 3 version >= 3.4 + * Check that pip is installed using this command ```bash - sudo pip3 install --upgrade pytap2 + pip3 -V ``` - - Install meshtastic: - ```bash - sudo pip3 install --upgrade meshtastic - ``` - - - - Check that your computer has the required serial drivers installed - * Connect your Meshtastic device to your USB port - * Open Device Manager - * Under `Ports (COM & LPT)` you should see something like `Silicon Labs CP210X USB to UART Bridge (COM5)` - * If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers). - - Check that your computer has Python 3 installed. - * Use the command - ```powershell - py -V - ``` - * If this does not return a version, install [python](https://www.python.org) - - Pip is typically installed if you are using python 3 version >= 3.4 - * Check that pip is installed using this command - ```powershell - pip3 -V - ``` - * If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/) - - Install pytap2 + * If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/) +- Install pytap2 + ```bash + sudo pip3 install --upgrade pytap2 + ``` +- Install meshtastic: + ```bash + sudo pip3 install --upgrade meshtastic + ``` + + +- Check that your computer has the required serial drivers installed + * Connect your Meshtastic device to your USB port + * Open Device Manager + * Under `Ports (COM & LPT)` you should see something like `Silicon Labs CP210X USB to UART Bridge (COM5)` + * If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers). +- Check that your computer has Python 3 installed. + * Use the command ```powershell - pip3 install --upgrade pytap2 + py -V ``` - - Install meshtastic: + * If this does not return a version, install [python](https://www.python.org) +- Pip is typically installed if you are using python 3 version >= 3.4 + * Check that pip is installed using this command ```powershell - pip3 install --upgrade meshtastic + pip3 -V ``` - + * If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/) +- Install pytap2 + ```powershell + pip3 install --upgrade pytap2 + ``` +- Install meshtastic: + ```powershell + pip3 install --upgrade meshtastic + ``` + \ No newline at end of file