-
Notifications
You must be signed in to change notification settings - Fork 70
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
python 3.11 #65
Comments
I'm also hitting issues installing the package with pip. Reproducible example in a Docker container: docker run -it ghcr.io/geocompx/docker:python /bin/bash
# in the container:
pip install richdem Resulting in:
|
This however is related to |
Thanks @KMIJPH I tried installing it again after installing
|
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. |
Any way to get a version on pypi with a more recent version? |
And how to install the more recent versions in the releases as an alternative to pip install richdem Many thanks. |
The readme has the instructions |
You mean this? Lines 69 to 84 in c5a183a
I was hoping for instructions that didn't rely on git and that pointed to the releases that we can use to install the package as part of our CI workflows: https://github.com/geocompx/geocompy/blob/main/requirements.txt See geocompx/geocompy#191 for context, any guidance very much appreciated. Cc @michaeldorman |
To build richdem, I downloaded the assets from the releases here: https://github.com/r-barnes/richdem/releases Then compiled richdem and then installed the python wrapper. |
With apologies for newby question @snowman2, do you know commands from bash that will get that working? 🙏 |
In addition to the instructions, this is a helpful reference. If compiling the code is problematic, I suggest using conda with the conda-forge channel to install richdem. conda config --prepend channels conda-forge
conda config --set channel_priority strict
conda create -n env richdem
conda activate env |
Installation on python 3.11 fails for me.
I couldn't really do much with the log.
On python 3.10 it installs fine.
Log:
The text was updated successfully, but these errors were encountered: