By the way.. don't know if it's important but I'm running that under OSX Mavericks 10.9.2
On Fri, Mar 28, 2014 at 8:40 PM, Jorge Ferrando <jorfe...@gmail.com> wrote: > Hi Sterling. > > Sorry, the line is this: > > asfdll = loadLibrary('libAPI.dylib') > > > On Fri, Mar 28, 2014 at 8:38 PM, Sterling Smith <smit...@fusion.gat.com>wrote: > >> 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 >> > Matplotlib-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> >
------------------------------------------------------------------------------
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users