Skip to content Skip to sidebar Skip to footer

Install Imutils Within Ros

I have an Ubuntu 16.04 OS with ROS kinetic. When I open a terminal and type python it loads python 2.7, and as I try to import imutils it says it's not there. Then, I tried to ins

Solution 1:

Your problem is that your pip is set to Python 3.5.

So, you can bypass it using pip2 instead:

pip2 install imutils

or

sudo pip2 install imutils

[NOTE]:

Check your pip s link to Python versions assignment:

pip --version
pip2 --version
pip3 --version
sudo pip --version
sudo pip2 --version
sudo pip3 --version

Then choose the desired Python version which assigned to these pip or you can change the pip s link address (a relevant post).

Post a Comment for "Install Imutils Within Ros"