Hello

I'm workign on a project where we are using ctypes and I wanted to plot
some data with matplotlib.

Everything is running fine, but as soon as I add this line:

The project crashes with this error:

File "........./myfile.py", line 117, in loadLibrary
    return cdll.LoadLibrary(library)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 443, in LoadLibrary
    return self._dlltype(name)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(libAPI.dylib, 6): initializer function 0x7fff9568c26e not
in mapped image for /Users/jorfermo/Desarrollo//libAPI.dylib

It seems to be that there's a conflict between ctypes library and
matplotlib but i failed to find a workaround to this error.

Any Idea how to solve it?

Thank you

Jorge
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to