Open andanders opened 4 months ago
This sounds like a clear import error for pynaoqi. Are you setting the path to NaoQi in the PYTHONPATH environment variable? Note that pynaoqi does of course has to run ni Python 2.7.
You should by able to test this by simply opening python 2.7 and do "import naoqi". If that works, your library at least imports correctly. It's a good pre-step before running the module itself.
I got past this by swapping to Windows, which moved the ball:
File "C:\Users\user\pepperchat-master\pepperchat-master\pepperspeechrecognition\speechrecognition.py", line 22, in
Any chance you could tell me exactly what version of numPy I should run?
The answer was: numpy-1.16.6-cp27-cp27m-win32.whl
We are getting an error when running python module_speechrecognition.py --pip pepper.local on macOS.
I guess the problem is related to the dir /Library/Frameworks/Python.framework/Versions/2.7/Python, which does not exist. This is not the default path for python27, and there are no README instructions to create it.