|
From: Sterling S. <sm...@fu...> - 2014-03-28 19:38:25
|
You forgot to add the line that causes the problems. You might want to give a minimum self contained working example. -Sterling On Mar 28, 2014, at 12:20PM, Jorge Ferrando wrote: > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |