Ellis trisk-grove <[email protected]> added the comment:
This is with regards to an python extension written in zig (I believe the same
behaviour would occur from C as I am just using Python.h). What happens is when
I compile the library on my mac it generates myLibrary.dylib file, when testing
with python the following occurs:
>>> import myLibrary
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'myLibrary'
However when changing the name of myLibrary.dylib to myLibrary.so python
manages to import and use it as it should.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com