Skip to content

module_speechrecognition.py fails with ImportError #2

@andanders

Description

@andanders

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.

ImportError: dlopen(/Users/birkthisted/Downloads/pynaoqi-python2.7-2.5.5.5-mac64/lib/python2.7/site-packages/_qi.so, 0x0002):
Library not loaded: /Library/Frameworks/Python.framework/Versions/2.7/Python

Referenced from: <D7C0A19A-7789-337C-98C1-7A2FB1E0E007> /Users/birkthisted/Downloads/pynaoqi-python2.7-2.5.5.5-mac64/lib/python2.7/site-packages/_qi.so

Reason: tried: '/Library/Frameworks/Python.framework/Versions/2.7/Python' (cannot link against a main executable '/Library/Frameworks/Python.framework/Versions/2.7/Python'), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (cannot link against a main executable '/Library/Frameworks/Python.framework/Versions/2.7/Python'), '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file, not in dyld cache), '/python2.7' (no such file), '/Users/birkthisted/Downloads/pynaoqi-python2.7-2.5.5.5-mac64/lib/python2.7' (not a file), '/opt/anaconda3/envs/py27/bin/python2.7' (cannot link against a main executable '/opt/anaconda3/envs/py27/bin/python2.7'), '/System/Volumes/Preboot/Cryptexes/OS/opt/anaconda3/envs/py27/bin/python2.7' (no such file), '/opt/anaconda3/envs/py27/bin/python2.7' (cannot link against a main executable '/opt/anaconda3/envs/py27/bin/python2.7'), '/usr/local/lib/python2.7' (no such file), '/usr/lib/python2.7' (no such file, not in dyld cache)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions