Pip install fails on ubuntu 16.04

Hi all,

Running stock ubuntu 16.04 with python 3.6 and latest drivers/everything I get this error message with “pip install odrive”

“Could not find a version that satisfies the requirement pywin32>=222 (from odrive) (from versions: )
No matching distribution found for pywin32>=222 (from odrive)”

I got the source, removed pywin32 as a dependency and it now works as expected…but why would pip or odrive think I’m on windows?


Hi Ross,

I’m running Ubuntu 16.04 LTS as well. I had the same problem. You’ll need to install Python 3 and python3-pip package through your favorite package manager like apt.

Hope this helps!


1 Like

Yes, make sure you are installing with pip3 (aka pip for python3).

I’m now experiencing this error on Ubuntu 16.04 and I’ve installed pip3 (18.0) and python3 (3.5.2). Fresh stock Ubuntu VM created specifically to work with odrive.

Is there a solution for this? The same error occurs with Python3 and pip3 fresh from apt-get.

If you came here looking for a solution:

  1. Install the dependencies:
    sudo apt install python3-usb python3-pip
    pip3 install IntelHex # if you want to flash firmware
  2. Clone or download the ODrive repo
  3. Run odrivetool from the tools directory of the repo instead of installing.

this is helpful, thanks!

whoever wrote the instruction for linux, at least you should try it on a fresh installed ubuntu and make sure other people won’t run into some problems like this when they follow your instructions.

Here is what worked for me:

UBUNTU 16.04 instrucions

Don’t upgrade pip!!! If you upgrade to the latest version it breaks!

8.1.1 is the working version on my installation, and I upgraded to version 19 and pip broke. here is what i did to revert:

python -m pip uninstall pip 
pip install --upgrade pip==8.1.1 

Needed to install Odrive from Pip

pip install monotonic --user

try this however cloning the repository seems to work whereas I had issues where the install was expecting some kind of windows package: “Could not find a version that satisfies the requirement pywin32>=222 (from odrive) (from versions: )
No matching distribution found for pywin32>=222 (from odrive)”

pip3 install odrive

Clone the Odrive repository

git clone https://github.com/madcowswe/ODrive.git

Install python3-usb

sudo apt install python3-usb

Set up USB permissions

echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="0d[0-9][0-9]", MODE="0666"' | sudo tee /etc/udev/rules.d/91-odrive.rules
sudo udevadm control --reload-rules
sudo udevadm trigger

plug in your Odrive and connect to power supply

goto ODrive folder and run Odrive from command line

cd ODrive/tools/ 



I tried to upgrade pip 8.1.1 to pip 9.0.3 and it didn’t break.

pip3 install --upgrade pip==9.0.3

and installed odrive successfully.

1 Like

I can’t get IntelHex to install however
I mean it install but odrivetool dfu can’t find it

I got intelhex to install on Ubuntu 16.04:

unistall intelhex:

sudo pip uninstall intelhex

download IntelHex from source:
uncompress archive and cd into intelhex directory, then:

sudo python3 setup.py install

Hi Ross,

Exactly same problem here. Could you explain how you removed the pywin32 dependency?


@zhaoqun-zhong I think you need to install Python3

sudo apt install python3 python3-pip