I hope this finds you safe, healthy and well.
I have been looking at the easygopigo3.py file(s) and I noticed that there are three of them. I found them located at:
/home/pi/Desktop/GoPiGo3/Software/Python/build/lib/easygopigo3.py /home/pi/Desktop/GoPiGo3/Software/Python/build/lib.linux-armv7l-2.7/easygopigo3.py /home/pi/Desktop/GoPiGo3/Software/Python/easygopigo3.py
Since I could not figure out which one was THE one, I renamed them, all of them, to “easy-gopigo3.py”. Now, I would assume that an import looking for “easygopigo3” would fail if the include file is named “easy-gopigp3”, right?
I can run either the control panel “example” or the Remote Camera Robot project, and there are no include errors thrown - and all the functionality that depends on the easygopigo classes still works.
I am puzzled. I looked (using “file find”), for any other occurrences of “easygopigo3”, and found none.
I edited the python files to invalidate them and force a rebuild. I rebooted my 'bot. Nothing seems to affect this.
This leads me to only three possible conclusions:
- There’s another include file hidden somewhere.
- These python files exist as pre-compiled binaries someplace with the includes wrapped up in them.
- I’m going out of my mind.
If I comment out the include:
from easygopigo3 import EasyGoPiGo3
It throws an error and fails. (As I would expect.)
Would someone please explain to me what is happening here? I cannot imagine where the python scripts are satisfying their includes from.