Pip install fails on ubuntu 16.04

#1

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?

Cheers,
Ross

0 Likes

#2

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!

Peter

1 Like

#3

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

0 Likes

#4

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.

0 Likes

#5

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

0 Likes

#6

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.
2 Likes

#7

@[aburka]
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.

0 Likes