<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Xingang,<div class=""><br class=""></div><div class="">I’m CC’ing pyngl-talk in case anyone else encounters this issue too.</div><div class=""><br class=""></div><div class="">There is currently a conflict between certain conda packages due to the conda-forge project migrating to a new compiler. (for more info, see: <a href="https://github.com/conda-forge/pynio-feedstock/issues/58" class="">https://github.com/conda-forge/pynio-feedstock/issues/58</a>)</div><div class=""><br class=""></div><div class="">A temporary workaround is to use “<font face="Menlo" class="">-c conda-forge/label/cf201901</font>” in place of “<font face="Menlo" class="">-c conda-forge</font>” in your conda commands to force the installation of older (pre-compiler-migration) packages.</div><div class=""><br class=""></div><div class="">Please try the following command and let me know if that works for you:</div><div class=""><div class=""><font face="Menlo" class="">conda create -n metuse -c <b class="">conda-forge/label/cf201901</b> python=2.7 spyder jupyter basemap netcdf4 pynio pyngl pygrib metpy wrf-python xarray Django scikit-learn statsmodels</font></div><div class=""><br class=""></div>I hope this helps,</div><div class="">Kevin<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 18, 2019, at 9:21 AM, Fan, Xingang <<a href="mailto:xingang.fan@wku.edu" class="">xingang.fan@wku.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">One problem solved: On Mac, as someone suggested (I forgot who), the installation of XQuartz (and its related X11 libs) solved the Mac OS Ngl import issue.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">But for Nio on Ubuntu, I tried a few options and it still don’t work. Options tried include install libgal package, use different versions of pynio.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thanks,<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Xingang<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0in 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><b class=""><span style="" class="">From:<span class="Apple-converted-space"> </span></span></b><span style="" class="">Xingang Fan <<a href="mailto:xingang.fan@wku.edu" class="">xingang.fan@wku.edu</a>><br class=""><b class="">Date:<span class="Apple-converted-space"> </span></b>Thursday, January 17, 2019 at 11:16 PM<br class=""><b class="">To:<span class="Apple-converted-space"> </span></b>Kevin Hallock <<a href="mailto:hallock@ucar.edu" class="">hallock@ucar.edu</a>><br class=""><b class="">Subject:<span class="Apple-converted-space"> </span></b>PyNio and PyNgl import problems<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi, Kevin:</span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">I am again in a process of preparing for a class to use Nio and Ngl. We have two types of computers, Mac OS 10.12 or higher, and Ubuntu 18.04 (itself or as a Virtual Machines on Windows):</span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">After the following installation on both systems:</span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">conda create -n metuse -c conda-forge python=2.7 spyder jupyter basemap netcdf4 pynio pyngl pygrib metpy wrf-python xarray Django scikit-learn statsmodels</span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">On Mac, Nio imports ok, but Ngl complains about a libX11.6.so</span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">On Ubuntu, Ngl imports ok, but Nio complains about libgal</span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Do you have a working version or a different channel that have a working version of these two?</span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thanks,<br class="">Xingang Fan</span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">-- <o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Xingang Fan, Ph. D., | Department of Geography and Geology<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Associate Professor | Western Kentucky University<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">of Meteorology | 1906 College Heights Blvd., #31066<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">270-745-5980 | Bowling Green, KY 42101-1066<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><a href="mailto:xingang.fan@wku.edu" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(5, 99, 193);" class="">xingang.fan@wku.edu</span></a><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><a href="http://people.wku.edu/xingang.fan" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(5, 99, 193);" class="">http://people.wku.edu/xingang.fan</span></a></div></div></div></blockquote></div><br class=""></div></body></html>