Intelligent object avoider in gopigo sample project


#1

this project doesnot work.
It says
“no module named sklearn”
i tried installing the following -
sudo pip install -u scikit-learn
but it could not successfully complete and gave a trace at end failed with error code 1


#2

Did you follow the instructions on how to install it?

Preparing It

You need to do the following things in order to be able to launch the robot.py script:

** Install scikit-learn package.**

** A sudo pip3 install scikit-learn should be enough (be mindful of whether you need to use sudo or not - most probably it’s sudo that’s required). **

Generally, pip is associated for Python 2 applications and pip3 is associated for Python 3 apps, so most likely, on your system, you’ll have to do use the pip3 command.

(information taken from https://github.com/DexterInd/GoPiGo3/tree/master/Projects/IntelligentObjectAvoider)