Skip to content

RichDEM Installation Fails on Google Colab with Compilation Error #85

@CristinaMarsh

Description

@CristinaMarsh

Hello,

I hope this message finds you well. I've been working with several geospatial packages and attempting to include RichDEM in my workflow on Google Colab, but I'm encountering some difficulties during the installation process.

Environment
Platform: Google Colab
Python version: 3.11
Operating system: Ubuntu (Linux x86_64)
Installation method: pip install

Steps Taken
Attempted to install RichDEM through pip as part of a larger requirements installation
Tried the command pip install --only-binary=richdem richdem but received a message that no binary distributions were found

Error Details
During installation, I'm receiving a compilation error:

Building wheel for richdem (setup.py) ... error
ERROR: Failed building wheel for richdem
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

I also noticed a setuptools warning about dash-separated options:

SetuptoolsDeprecationWarning: Invalid dash-separated options
!! Usage of dash-separated 'description-file' will not be supported in future versions.
Please use the underscore name 'description_file' instead.

Questions
I would greatly appreciate any guidance on:

  1. Are there specific dependencies I should install before attempting to build RichDEM?
  2. Is there a recommended installation method for Google Colab environments?
  3. Could the setuptools warning be related to the installation failure?

Thank you very much for your time and for maintaining this useful package. I'd be happy to provide any additional information that might help resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions