Open AnnaWojciechowska opened 3 years ago
pywgrib2_xr is built in conda-forge environment. Those errors happen when some dependent packages are installed from the main channel. This is a bug, the following commands fail:
$ conda create -c conda-forge -n pywgrib2 python=3.9
$ conda install -c yt87 pywgrib2_xr
As a workaround, try:
$ conda create -c conda-forge -n pywgrib2 python=3.9
$ conda install -c conda-forge -c yt87 pywgrib2_xr
Or, add conda-forge in to your .condarc:
$ cat ~/.condarc
channel_priority: strict
channels:
- conda-forge
- defaults
hello, thank you, it worked! Anna Wojciechowska
On Sat, 10 Jul 2021 at 23:19, yt87 @.***> wrote:
pywgrib2_xr is built in conda-forge environment. Those errors happen when some dependent packages are installed from the main channel. This is a bug, the following commands fail:
$ conda create -c conda-forge -n pywgrib2 python=3.9 $ conda install -c yt87 pywgrib2_xr
As a workaround, try:
$ conda create -c conda-forge -n pywgrib2 python=3.9 $ conda install -c conda-forge -c yt87 pywgrib2_xr
Or, add conda-forge in to your .condarc:
$ cat ~/.condarc channel_priority: strict channels:
- conda-forge
- defaults
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yt87/pywgrib2_xr/issues/3#issuecomment-877705866, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTXMFTJ3RWO3AY6IUM7CCTTXC2O5ANCNFSM5AEKLNHQ .
Hello, I have tried to install the package. I experimented with diffrent ways - starting from recommended conda. I have installed ubuntu 20, new annadonda and followed your instructions. It fails. I also tried pip install -e, and pip install git+ repo addres, as well as building from the scratch. All versions failed, usually missing headers or iplib which seems been moved to different folder. Building wgrib2 on other machine worked, same for pywgrib2_s. Seems the issures are with xr version.
base) anna@ubuntu:~/Downloads$ conda install -c yt87 pywgrib2_xr Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
Your installed version is: 2.31