<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 Panfeng,<div class=""><br class=""></div><div class="">Based on the error message, it looks like you are trying to run “import Nio” and “import Ngl” from your shell/Bash environment, and a program called “import” is running but doesn’t know what “Nio” and “Ngl” are. If you want to use PyNIO and PyNGL interactively, try running the “python” program first, then do the imports:</div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class="">(pyn_env)[hallock@cheyenne1 ~]$ python<br class="">Python 3.6.7 | packaged by conda-forge | (default, Nov 21 2018, 02:32:25) <br class="">[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux<br class="">Type "help", "copyright", "credits" or "license" for more information.<br class="">>>> import Nio</font></div><div class=""><span style="font-family: Menlo;" class="">>>> import Ngl</span><br style="font-family: Menlo;" class=""><br class=""></div><div class="">Notice that the prompt has changed from “$” (Bash’s default prompt character) to “>>>” (Python’s interactive prompt), and that running “python” displayed some version information.</div><div class=""><br class=""></div><div class="">Also, using “conda-forge/label/cf201901” should no longer be necessary to install PyNIO and PyNGL; you should be able to just use “conda-forge” as your channel:</div><div class=""><font face="Menlo" class="">conda create --name pyn_env --channel conda-forge pynio pyngl<br class=""></font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class="">I hope this helps!</div><div class="">Kevin</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 19, 2019, at 2:13 AM, 张盼峰 via pyngl-talk <<a href="mailto:pyngl-talk@ucar.edu" class="">pyngl-talk@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class=""><div class="">Dear everyone,</div><div class=""><br class=""></div><div class="">I have installed the packages pynio and pyngl successfully in one computer through the following command:<i class=""><br class=""></i></div><div class=""><i class="">conda create --name pyn_env --channel conda-forge/label/cf201901 pynio pyngl</i></div><div class=""><br class=""></div><div class="">But in another computer, there is an error message:<br class=""></div><div class=""><br class=""></div><div class=""><i class="">zpf@zpf-OptiPlex-7040:~$ source activate pyn_env</i></div><i class="">(pyn_env) zpf@zpf-OptiPlex-7040:~$ import Nio</i><br class=""><i class="">import-im6.q16: not authorized `Nio' @ error/constitute.c/WriteImage/1037.</i><br class=""><i class="">(pyn_env) zpf@zpf-OptiPlex-7040:~$ import Ngl</i><br class=""><div class=""><i class="">import-im6.q16: not authorized `Ngl' @ error/constitute.c/WriteImage/1037.</i></div><div class=""><i class=""><br class=""></i></div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">Best regards,</i></div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">Panfeng<br class=""></i></div><br class=""><br class=""></div><br class="">_______________________________________________<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>