[pyngl-talk] Importing pyngl error

Alyssa Stansfield alyssa.stansfield at stonybrook.edu
Thu Sep 28 12:47:34 MDT 2017


Hello,

I tried installing PyNIO and PyNGL using anaconda in a separate
environment, as suggested on the website. When I open Python and import
NIO, it works, but when I try to import Ngl, this error message comes up:

  File
"/Users/Alyssa/anaconda/envs/pyn_test/lib/python2.7/site-packages/PyNGL/Ngl.py",
line 45, in <module>

    import fplib

ImportError:
dlopen(/Users/Alyssa/anaconda/envs/pyn_test/lib/python2.7/site-packages/PyNGL/fplib.so,
2): Library not loaded: /opt/X11/lib/libcairo.2.dylib

  Referenced from:
/Users/Alyssa/anaconda/envs/pyn_test/lib/python2.7/site-packages/PyNGL/fplib.so

  Reason: Incompatible library version: fplib.so requires version 11403.0.0
or later, but libcairo.2.dylib provides version 11203.0.0

I tried updating all my modules using conda, but still I get this error.
Any ideas on how to fix this?

-Alyssa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20170928/54ddcbce/attachment.html>


More information about the pyngl-talk mailing list