I think the only this would work is to compile it against the maya version you are using, unless there is some existing pre-built binaries that I am not aware of.
Another approach, though very convoluted, would be to first create a system level command (one that you can run outside maya from any terminal and accepts data, returns the result), call it from maya using either a Popen or os.system. On Mon, May 24, 2021, 07:52 justin hidair <justinhid...@gmail.com> wrote: > Hello here fellas, > sorry for the form I'm on mobile > > > I've been trying everything to run matplotlib from maya (2020 win x64) > > that include installing it from mayapy.exe -m pip , downloading > third-party packages and other older versions ;I even tried to compile it > although failing countless times at that . > > And the result most of the times was you could import matplotlib at first > without apparent issues but as soon as you tried to import > matplotlib.pyplot you would get errors of DLL loading failure (guess it has > something to do with freetype and libpng binaries which matplotlib depends > on) > > Now I really really want to use matplotlib from within maya. If you could > help me do that and also tell me how you did it Id be super grateful and > would buy you lunch via paypal or something > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAHJS-05A%3DxJCD9qSj6EciaghQXvO%3DOAuJJjMkz_CEQ3KdusuqA%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAHJS-05A%3DxJCD9qSj6EciaghQXvO%3DOAuJJjMkz_CEQ3KdusuqA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPaTLMS3%2BiH5XQb%2BdoBt8t3CBXxvjo1xkQhbzxa2uJAi_xeOQQ%40mail.gmail.com.