Closed pabloaguilarmartinez closed 2 years ago
The problem was that I was using python 3.10. If you use 3.9 it works. I close the issue.
@aguilarpablo thanks for the report and the update.
I'm still not sure where this comes from. Rust is (I think) need for one of the dependency: https://github.com/milesgranger/pyrus-cramjam but this it's python 3.10 compatible
https://github.com/developmentseed/timvt/runs/8250339868?check_suite_focus=true
docker build is failing for the same reason. Interestingly it work fine in GitHub CI.
ok, the issue is that wheels for python 3.10 for pyrus-cramjam is only created for version >2.5.0 but starlette-cramjam requires pyrus-cramjam<2.5.0. .... so we fall back on source install but we don't have Rust in the docker image!!!
Solutions:
this was fixed in starlette-cramjam
Hi, When I am installing timvt dependencies and Uvicorn (a lightning-fast ASGI server), it appears this error: Cargo, the Rust package manager, is not installed or is not on PATH. This package requires Rust and Cargo to compile extensions. Install it through the system's package manager or via https://rustup.rs/
I tried everything since check my 64-bit python version, install from https://rustup.rs/ and add the path.
Has this happened to anyone?