[pyngl-talk] import-im6.q16: not authorized `Nio' @ error/constitute.c/WriteImage/1037.

Kevin Hallock hallock at ucar.edu
Tue Mar 19 10:24:23 MDT 2019

Hi Panfeng,

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:

(pyn_env)[hallock at cheyenne1 ~]$ python
Python 3.6.7 | packaged by conda-forge | (default, Nov 21 2018, 02:32:25) 
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import Nio
>>> import Ngl

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.

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:
conda create --name pyn_env --channel conda-forge pynio pyngl

I hope this helps!

> On Mar 19, 2019, at 2:13 AM, 张盼峰 via pyngl-talk <pyngl-talk at ucar.edu> wrote:
> Dear everyone,
> I have installed the packages pynio and pyngl successfully in one computer through the following command:
> conda create --name pyn_env --channel conda-forge/label/cf201901 pynio pyngl
> But in another computer, there is an error message:
> zpf at zpf-OptiPlex-7040:~$ source activate pyn_env
> (pyn_env) zpf at zpf-OptiPlex-7040:~$ import Nio
> import-im6.q16: not authorized `Nio' @ error/constitute.c/WriteImage/1037.
> (pyn_env) zpf at zpf-OptiPlex-7040:~$ import Ngl
> import-im6.q16: not authorized `Ngl' @ error/constitute.c/WriteImage/1037.
> Best regards,
> Panfeng
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20190319/11507c91/attachment.html>

More information about the pyngl-talk mailing list