Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

richdem python version requirement #1

Open
scottmconway opened this issue Jun 27, 2024 · 2 comments
Open

richdem python version requirement #1

scottmconway opened this issue Jun 27, 2024 · 2 comments

Comments

@scottmconway
Copy link

Awesome project! Just from poking around, it looks like richdem won't build properly on python versions >= 3.10 at the moment. I'm getting a smattering of errors from gcc while trying to build the wheel. You can confirm this from the following docker images:

python:3.10-bookworm
python:3.11-bookworm
python:3.12-bookworm

# install dependencies if not already installed and try to build richdem
apt update; apt install gcc g++; python3 -m pip install richdem

It's not an issue with this project, but I think it's worth noting that 3.9 is the most recent version of python that can be used for it (until the upstream issue is fixed).

@scottmconway
Copy link
Author

Wait nevermind, see this comment:

I investigated and the latest version on pypi is 0.3.4 from 2018 with a vendored older version of pybind11.
There are more recent releases: https://github.com/r-barnes/richdem/releases
If you install from source with a more recent release, it works.
r-barnes/richdem#65 (comment)

Compiling richdem yourself or installing it through conda seem to work.
r-barnes/richdem#65 (comment)

@AlexDFischer
Copy link
Owner

richdem installs via pip on my machine with Python 3.10.12. Still, I just added some text in the documentation that tells users that richdem may be easier to install with pip using Python 3.9. Thanks for the heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants