[pyngl-talk] PyNio and PyNgl import problems
hallock at ucar.edu
Fri Jan 18 14:59:19 MST 2019
I’m CC’ing pyngl-talk in case anyone else encounters this issue too.
There is currently a conflict between certain conda packages due to the conda-forge project migrating to a new compiler. (for more info, see: https://github.com/conda-forge/pynio-feedstock/issues/58 <https://github.com/conda-forge/pynio-feedstock/issues/58>)
A temporary workaround is to use “-c conda-forge/label/cf201901” in place of “-c conda-forge” in your conda commands to force the installation of older (pre-compiler-migration) packages.
Please try the following command and let me know if that works for you:
conda create -n metuse -c conda-forge/label/cf201901 python=2.7 spyder jupyter basemap netcdf4 pynio pyngl pygrib metpy wrf-python xarray Django scikit-learn statsmodels
I hope this helps,
> On Jan 18, 2019, at 9:21 AM, Fan, Xingang <xingang.fan at wku.edu> wrote:
> 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.
> 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.
> From: Xingang Fan <xingang.fan at wku.edu>
> Date: Thursday, January 17, 2019 at 11:16 PM
> To: Kevin Hallock <hallock at ucar.edu>
> Subject: PyNio and PyNgl import problems
> Hi, Kevin:
> 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):
> After the following installation on both systems:
> 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
> On Mac, Nio imports ok, but Ngl complains about a libX11.6.so
> On Ubuntu, Ngl imports ok, but Nio complains about libgal
> Do you have a working version or a different channel that have a working version of these two?
> Xingang Fan
> Xingang Fan, Ph. D., | Department of Geography and Geology
> Associate Professor | Western Kentucky University
> of Meteorology | 1906 College Heights Blvd., #31066
> 270-745-5980 | Bowling Green, KY 42101-1066
> xingang.fan at wku.edu <mailto:xingang.fan at wku.edu>
> http://people.wku.edu/xingang.fan <http://people.wku.edu/xingang.fan>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pyngl-talk