-
Notifications
You must be signed in to change notification settings - Fork 94
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
Problem installing Python packages that need compiling #552
Comments
Hi @alexgleith, nice to see those Rust geomedian algorithms coming along! I'm trying to see what the best approach here would be. We probably don't want to install all those Linux compilers explicitly in We could just depend on That said, we could consider making a |
Hey @weiji14 This is for my own Docker Image, so I don't really mind how big it is, at least for now. I'd just like a solution that works! I don't really want to have an external build process for this Python library, though admittedly, it does make sense to remove the compiler and rust dependencies... Anyhow, this should be possible to do, right? I can't understand why I can't install GCC and Rust and compile the package! |
Ah ok, I thought you were asking for a solution on Could you try some of the suggestions at conda-forge/rust-feedstock#71? I see something about setting a |
That looks like a good option! Testing now... |
Doesn't seem to have helped... I'll do some testing locally in a built Docker image, rather than in CI. |
Testing in a running Docker image I get the below:
Results in a huge list of errors including:
|
To narrow down that possible issues a bit, if you just use an environment.yml with the micromamba docker image https://micromamba-docker.readthedocs.io/en/latest/quick_start.html does it work? |
Describe the bug
I'm trying to install a Python package from GitHub that needs some rust components compiled. I've added
To Reproduce
Steps to reproduce the behavior:
git+https://github.com/opendatacube/odc-algo.git@add-rust-geomedian-impl
Expected behavior
The Python package builds and installs in the Conda environment.
Docker Image Version (e.g. quay.io/pangeo/ml-notebook:2023.02.27):
FROM pangeo/base-image:2024.03.22
Infrastructure (Where you are running this image):
Error output is this:
The text was updated successfully, but these errors were encountered: