From 169713e0ef316edd042af1d3a6ebbd772c156596 Mon Sep 17 00:00:00 2001 From: Alan Mond Date: Mon, 18 Jun 2018 22:21:28 -0700 Subject: [PATCH 1/2] adds simpler instructions to install odrive on OSX Just a proposal, but it made my installation a lot smoother on OSX. --- docs/getting-started.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 7fbad6ca..feff91e0 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -76,7 +76,26 @@ Most instructions in this guide refer to a utility called `odrivetool`, so you s * Check 'List All Devices' from the options menu, and select 'ODrive 3.x Native Interface (Interface 2)'. With that selected in the device list choose 'libusb-win32' from the target driver list and then press the large 'install driver' button. -### Linux/macOS +### OSX +1. If you don't already have it, install homebrew: +``` +/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + +``` +2. Install python: +``` +brew install python +``` +3. If you get the error: `Error: python 2.7.14_2 is already installed`, then upgrade to Python 3 by running: +``` +brew upgrade python +``` +4. Now that you have Python 3 and all the package managers, run: +``` +pip3 install odrive +``` + +### Linux 1. [Install Python 3](https://www.python.org/downloads/). 2. Install the ODrive tools by opening a terminal and typing `pip install odrive` Enter From 7ec08035f0a1852294933819b9fbcc84c479c0c4 Mon Sep 17 00:00:00 2001 From: Alan Mond Date: Mon, 18 Jun 2018 22:24:33 -0700 Subject: [PATCH 2/2] removes extra carriage return --- docs/getting-started.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index feff91e0..fd6e4d0e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -78,20 +78,19 @@ Most instructions in this guide refer to a utility called `odrivetool`, so you s ### OSX 1. If you don't already have it, install homebrew: -``` +```sh /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - ``` 2. Install python: -``` +```sh brew install python ``` 3. If you get the error: `Error: python 2.7.14_2 is already installed`, then upgrade to Python 3 by running: -``` +```sh brew upgrade python ``` 4. Now that you have Python 3 and all the package managers, run: -``` +```sh pip3 install odrive ```