<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Alyssa,<div class=""><br class=""></div><div class="">Could you please check the version of XQuartz that’s installed on your machine? (select “About X11” in the “XQuartz” menu while the XQuartz application is open)</div><div class=""><br class=""></div><div class="">For reference, I currently have XQuartz 2.7.11 installed on my Mac. If your version of XQuartz is lower than 2.7.11, you may need to upgrade it in order for PyNIO and PyNGL to work: <a href="https://www.xquartz.org/" class="">https://www.xquartz.org/</a></div><div class=""><br class=""></div><div class="">I hope this helps!</div><div class="">Kevin<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 28, 2017, at 12:47 PM, Alyssa Stansfield <<a href="mailto:alyssa.stansfield@stonybrook.edu" class="">alyssa.stansfield@stonybrook.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class="">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:</div><div class=""><br class=""></div><div class=""><p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space"> </span>File "/Users/Alyssa/anaconda/envs/pyn_test/lib/python2.7/site-packages/PyNGL/Ngl.py", line 45, in <module></span></p><p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space"> </span>import fplib</span></p><p class="gmail-p1"><span class="gmail-s1">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</span></p><p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space"> </span>Referenced from: /Users/Alyssa/anaconda/envs/pyn_test/lib/python2.7/site-packages/PyNGL/fplib.so</span></p><p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space"> </span>Reason: Incompatible library version: fplib.so requires version 11403.0.0 or later, but libcairo.2.dylib provides version 11203.0.0</span></p><p class="gmail-p1"><span class="gmail-s1">I tried updating all my modules using conda, but still I get this error. Any ideas on how to fix this?</span></p><p class="gmail-p1">-Alyssa</p></div></div>
_______________________________________________<br class="">pyngl-talk mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/pyngl-talk" class="">http://mailman.ucar.edu/mailman/listinfo/pyngl-talk</a><br class=""></div></blockquote></div><br class=""></div></body></html>