Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't dlopen py_sourcemap.so on OS X, Python 3 #33

Open
danmaftei opened this issue Aug 6, 2020 · 0 comments
Open

Can't dlopen py_sourcemap.so on OS X, Python 3 #33

danmaftei opened this issue Aug 6, 2020 · 0 comments

Comments

@danmaftei
Copy link

OS X 10.15.5. I have xcode tools installed.

After pip install py-sourcemap:

>>> import py_sourcemap
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/py_sourcemap/__init__.py", line 1, in <module>
    from .py_sourcemap import SourcemapParser as InternalParser
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/py_sourcemap/py_sourcemap.so, 2): no suitable image found.  Did find:
	/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/py_sourcemap/py_sourcemap.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
	/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/py_sourcemap/py_sourcemap.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant