Open rabernat opened 5 years ago
@rabernat I ran into a similar issue with pip installation before, so I uploaded it to Anaconda Cloud. You can try install it using the following command. All credit goes to Dr. Richard Barnes for developing such a great Python package.
conda install -c giswqs richdem
@giswqs - that sounds like a good temporary solution.
conda-forge is probably a better long term choice because it automatically builds the recipe for all platforms and automatically re-builds every new release. It doesn't have to be the owner of the repo who creates the conda-forge recipe. You could easily do it yourself if you already have experience with building and packaging richdem.
All credit goes to Dr. Richard Barnes for developing such a great Python package.
No, some credit also goes to you for making it more accessible to end users. 😄Open source projects need a community of contributors to thrive, and there are many different roles to play.
@rabernat I have created a conda-forge recipe for richdem. However, it failed to pass the AppVeyor test.To resolve the first error, I modified the .appveyor.yml, which leads to the second error. Any advice?
Hi,
I tried to this same thing:
$ conda install -c giswqs richdem
Collecting package metadata: done Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page.
Any suggestions for installing on MacOS?
@mberry28 I just tested it. The installation conda install -c giswqs richdem
works fine on my Linux machine. I am sorry I don't have access to MacOS. Have you tried pip install richdem
?
Hi @giswqs, I am getting the same error as @mberry28 when I try "installation conda install -c giswqs richdem" (ie, PackagesNotFoundError). When I try "pip install richdem" I get this:
Building wheels for collected packages: richdem Building wheel for richdem (setup.py) ... error
Do you know how else to install richdem? I am using Python 3.7 in Anaconda on a MacOS. Thanks in advance.
The long term solution here is to get the conda-forge build working as @giswqs is trying to do.
@giswqs - you should direct your conda forge build questions to the conda-forge team. Can you link to your staged-recipes PR?
Is there a way to build directly through the Terminal? I tried running the wheelhouse and setup.py files, but that didn't work. I think some directory names have changed. What is the best solution to build this on my local machine ASAP?
Thanks.
The conda-forge package is now available! It is now trivial to install in linux and mac-os
conda install -c conda-forge richdem
Recipe is here: https://github.com/conda-forge/richdem-feedstock
@rabernat I think it is broken again. I'm getting the same error as @mberry28 had on Apr 23. Any recommendations?
@rabernat
Please re-open the issue. I get the same error as @mberry28 and @jryoung3
(using Anaconda on a Win10 machine)
@rabernat
Please re-open the issue. I get the same error as @mberry28 and @jryoung3
(using Anaconda on a Win10 machine)
Hi, I'm facing the same issue with W10 machine.
> conda install -c conda-forge richdem
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- richdem
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
But as per this message, I think Windows was never supported:
The conda-forge package is now available! It is now trivial to install in linux and mac-os
And indeed, the recipe gives no instruction concerning windows (https://github.com/conda-forge/richdem-feedstock)
Maybe this should be brought to @ocefpaf 's attention ? I think he's the recipe owner.
(For future reference here is a recipe for several archs including win: https://github.com/conda-forge/libpng-feedstock)
Folks, there is no richdem
on Windows in conda-forge. Compiling stuff on Windows is an art and we have very few of those artists in our community.
If someone here has Windows expertise please send a PR to https://github.com/conda-forge/richdem-feedstock
Thanks so much for providing this amazing tool the the python community!
Several users here at LDEO (e.g. @jkingslake, @jjspergel) are interested in trying richdem but are hitting problems with the pip install.
Most scientific python packages, especially those with compiled code, now provide a conda-forge package. The process for creating a conda-forge recipe is quite straightforward. If you could consider adding a conda package, I think you would get a lot more users.