Closed pmspire closed 5 years ago
Note that pynio
was not migrated to the new compilers b/c it depends on hdfeos2
and hdfeos5
and both are still pending due to compilation errors. See https://github.com/conda-forge/hdfeos5-feedstock/pull/22 and https://github.com/conda-forge/hdfeos2-feedstock/pull/18
B/c of that you may need to install the old version compiled with the old compilers. Try:
conda create --name PYNIO --channel conda-forge/label/cf201901 pynio
conda activate PYNIO
python -c 'import Nio'
Thanks for the workaround, @ocefpaf -- I can confirm that it works for me. Your support is, as always, much appreciated.
Thanks for the workaround, @ocefpaf -- I can confirm that it works for me. Your support is, as always, much appreciated.
Note that as soon as we "fix" hdfeos you can drop that workaround and use the packages with the new compilers. (It may take a while though...)
Leaving this open so other can find it.
@ocefpaf - we're running into this problem with xarray's ci system too. It looks like the hdfeos issues have been fixed. Does that mean pynio can be rebuilt with the new compilers now?
@ocefpaf - we're running into this problem with xarray's ci system too. It looks like the hdfeos issues have been fixed. Does that mean pynio can be rebuilt with the new compilers now?
Let me check, maybe there are other package that are missing. (The PR should happen automatically so we are either missing a package or the bot is nor working properly.)
Found the missing package, it was g2clib
, a PR to pynio
should follow soon.
I still got the same error even following the procedures below,
$ conda create --name PYNIO --channel conda-forge/label/cf201901 pynio $ conda activate PYNIO $ python -c 'import Nio'
ImportError Traceback (most recent call last)
I believe that the compilation of pynio
with the new compilers is done. First ensure that you have conda-forge
on top of defaults
in your .condarc
and activate the strict
channel option:
conda config --set channel_priority strict
conda config --add channels conda-forge
then do,
conda create --name PYNIO --channel conda-forge pynio
conda activate PYNIO
python -c 'import Nio'
Thanks a lot.
I got the following error after $ python -c 'import Nio' ImportError: libnsl.so.1: cannot open shared object file: No such file or directory
Can you post the conda list
of that env? The command did work for me.
$ conda list PYNIO
#
pynio 1.5.4 py36h36f4ed2_0 conda-forge/label/cf201901
pynio 1.5.4 py36h36f4ed2_0 conda-forge/label/cf201901
That is still the package from the cf201901
label. Like I said above the compilation problems that forced us to use that label are gone.
Can you try the commands in https://github.com/conda-forge/pynio-feedstock/issues/58#issuecomment-472958526 and install it from the main
label instead.
$ conda create --name PYNIO --channel conda-forge pynio
$ conda activate PYNIO
$ python -c 'import Nio'
Traceback (most recent call last):
File "
$ conda list PYNIO
#
pynio 1.5.5 py37h8b983ae_0 conda-forge
Did you do the first two steps?
Thanks. Yes. $ conda config --set channel_priority strict $ conda config --add channels conda-forge
I cannot reproduce that error locally. It would be helpful if you list all the files in conda list
instead of just pynio
.
Note that
pynio
was not migrated to the new compilers b/c it depends onhdfeos2
andhdfeos5
and both are still pending due to compilation errors. See conda-forge/hdfeos5-feedstock#22 and conda-forge/hdfeos2-feedstock#18B/c of that you may need to install the old version compiled with the old compilers. Try:
conda create --name PYNIO --channel conda-forge/label/cf201901 pynio conda activate PYNIO python -c 'import Nio'
Issue:
Environment (
conda list
):Details about
conda
and system (conda info
):