<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 Zilore,<div class=""><br class=""></div><div class="">I think the “PackagesNotFoundError” from conda is due to the fact that you are running a 32-bit Linux OS, while the conda packages are explicitly 64-bit binaries. Would it be possible to use a 64-bit Linux virtual machine instead?</div><div class=""><br class=""></div><div class="">When you installed PyNGL from source, were there any particular warning or error messages? Did you use conda to install the necessary dependencies, or did you use packages installed via apt-get?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Kevin<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 7, 2019, at 3:31 PM, Zilore Mumba 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 dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><a href="mailto:pyngl-talk@ucar.edu" target="_blank" class="">Hello,</a></div><div class="">I am trying to run python scripts for plotting data, from the ncl to python transition manual. The scripts call nio and ngl.</div><div class="">I have installed anaconda3 and created an ncl_to_python environment as follows:</div><div class=""><pre class=""><code class="gmail-m_1126049952723902877gmail-language-bash">conda create -n yourenvname <span class="gmail-m_1126049952723902877gmail-nv">python</span><span class="gmail-m_1126049952723902877gmail-o">=</span>x.x anaconda<br class="">conda activate ncl_to_python<br class=""><br class=""></code></pre><pre class=""><code class="gmail-m_1126049952723902877gmail-language-bash">Then following here <a href="http://mailman.ucar.edu/pipermail/pyngl-talk/2019-February/000276.html" target="_blank" class="">http://mailman.ucar.edu/pipermail/pyngl-talk/2019-February/000276.html</a><br class="">I did:<br class="">conda update -c conda-forge —all
python -c "import Nio; print(Nio.__version__)"<br class=""></code></pre><pre class=""><code class="gmail-m_1126049952723902877gmail-language-bash">the last command was giving me "no module NIO" as in the pyngl-talk post above. I have followed  subsequent post and managed to install pynio with:<br class="">conda install gdal; conda update --all<br class=""><br class=""></code></pre><pre class=""><code class="gmail-m_1126049952723902877gmail-language-bash">When I run the script I get:<br class="">Traceback (most recent call last):<br class="">  File "TRANS_contour_lines_on_map.py", line 41, in <module><br class="">    import Ngl<br class="">ModuleNotFoundError: No module named 'Ngl'<br class=""><br class=""></code></pre><pre class=""><code class="gmail-m_1126049952723902877gmail-language-bash">I have installed pyngl from source, but it does not seem to be seen. With<br class=""><code class="">conda install -c conda-forge pyngl
  </code>or<br class=""><code class="">conda install -c conda-forge/label/cf201901 pyngl<br class=""></code></code></pre><pre class=""><code class="gmail-m_1126049952723902877gmail-language-bash"><code class="">I get:<br class="">PackagesNotFoundError: The following packages are not available from current channels:<br class="">  - pyngl<br class=""></code></code></pre><pre class=""><code class="gmail-m_1126049952723902877gmail-language-bash"><code class="">I am working on ubuntu 18.04 32 bit on VMware as a guest on Windows 10.<br class="">Assistance will be appreciated.<br class=""></code></code></pre><pre class=""><code class="gmail-m_1126049952723902877gmail-language-bash"><code class="">Zilore Mumba<br class=""></code></code></pre></div></div></div></div></div></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>