<div dir="ltr"><div>Kevin,</div><div>Thanks very much for the hints you gave me. I would like to run my scripts on a laptop which is 32 bit. I notice that both Nio.py and Ngl.py are in $HOME/anaconda3/lib/site-packages. I have added this to my LD_LIBRARY_PATH, but still the same problem. So looks like it is an architecture problem as you point out.</div><div>I am thinking of installing 64-bit anaconda3 on top of 32-bit. Before I do that, would you advise that, or I have to install the current installation first?</div><div>Thanks for your time<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 8, 2019 at 12:09 AM Kevin Hallock <<a href="mailto:hallock@ucar.edu">hallock@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Zilore,<div><br></div><div>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><br></div><div>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><br></div><div>Thanks,</div><div>Kevin<br><div><br><blockquote type="cite"><div>On May 7, 2019, at 3:31 PM, Zilore Mumba via pyngl-talk <<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>> wrote:</div><br class="gmail-m_4143569480398968799Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><a href="mailto:pyngl-talk@ucar.edu" target="_blank">Hello,</a></div><div>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>I have installed anaconda3 and created an ncl_to_python environment as follows:</div><div><pre><code class="gmail-m_4143569480398968799gmail-m_1126049952723902877gmail-language-bash">conda create -n yourenvname <span class="gmail-m_4143569480398968799gmail-m_1126049952723902877gmail-nv">python</span><span class="gmail-m_4143569480398968799gmail-m_1126049952723902877gmail-o">=</span>x.x anaconda<br>conda activate ncl_to_python<br><br></code></pre><pre><code class="gmail-m_4143569480398968799gmail-m_1126049952723902877gmail-language-bash">Then following here <a href="http://mailman.ucar.edu/pipermail/pyngl-talk/2019-February/000276.html" target="_blank">http://mailman.ucar.edu/pipermail/pyngl-talk/2019-February/000276.html</a><br>I did:<br>conda update -c conda-forge —all
python -c "import Nio; print(Nio.__version__)"<br></code></pre><pre><code class="gmail-m_4143569480398968799gmail-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>conda install gdal; conda update --all<br><br></code></pre><pre><code class="gmail-m_4143569480398968799gmail-m_1126049952723902877gmail-language-bash">When I run the script I get:<br>Traceback (most recent call last):<br> File "TRANS_contour_lines_on_map.py", line 41, in <module><br> import Ngl<br>ModuleNotFoundError: No module named 'Ngl'<br><br></code></pre><pre><code class="gmail-m_4143569480398968799gmail-m_1126049952723902877gmail-language-bash">I have installed pyngl from source, but it does not seem to be seen. With<br><code>conda install -c conda-forge pyngl
</code>or<br><code>conda install -c conda-forge/label/cf201901 pyngl<br></code></code></pre><pre><code class="gmail-m_4143569480398968799gmail-m_1126049952723902877gmail-language-bash"><code>I get:<br>PackagesNotFoundError: The following packages are not available from current channels:<br> - pyngl<br></code></code></pre><pre><code class="gmail-m_4143569480398968799gmail-m_1126049952723902877gmail-language-bash"><code>I am working on ubuntu 18.04 32 bit on VMware as a guest on Windows 10.<br>Assistance will be appreciated.<br></code></code></pre><pre><code class="gmail-m_4143569480398968799gmail-m_1126049952723902877gmail-language-bash"><code>Zilore Mumba<br></code></code></pre></div></div></div></div></div></div></div>
_______________________________________________<br>pyngl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/pyngl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/pyngl-talk</a><br></div></blockquote></div><br></div></div></blockquote></div>