I'm trying to import easygopigo3 on Raspian Jessie and getting "No module named mock package"


#1

I’m trying to import easygopigo3 and getting the following error. Your help is appreciated.

pi@raspberrypi:~ $ python
Python 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

import easygopigo3 as easy
Traceback (most recent call last):
File “”, line 1, in
File “build/bdist.linux-armv7l/egg/easygopigo3.py”, line 2251, in
ImportError: No module named mock_package

Thanks
Rick


#2

set PYTHONPATH to /home/pi/Dexter/GoPiGo3/Software/Python and run your program.


#3

Hi @rgiuly,

You should make a DI Update because we had this issue in one of our latest releases.

The issue was reported a couple of days ago and we’ve already come up with a fix for it.
Here’s the original issue: https://github.com/DexterInd/GoPiGo3/issues/64

Thank you!