-
Notifications
You must be signed in to change notification settings - Fork 574
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
"No module named rtree" #941
Comments
Hey, looks like you're missing |
@mikedh not sure about other people here but I have never been able to install rtree through the official pip install, or through trimesh[easy]. It comes down to the fact that I'm missing some binaries that rtree depends on. I managed to resolve the issue by installing the unofficial wheel for rtree, which can be found here: |
Yeah |
Hi, thank you for your answers. I tried to install rtree and trimesh[easy] but as @vitsensei already said there are some error messages and it didnt install. Any tips on how I am able to install rtree or use the mesh.contains function without rtree? |
@RobertKoenig1337 I think you are very close Robert. You just need to download the correct wheel for your Python. What is the current version of your Python? If you like me and using 3.7, you should be downloading Rtree‑0.9.4‑cp37‑cp37m‑win_amd64.whl (I'm using 64 bits machine). |
Hello,
Then you should be able to do
|
Thank you for your help. It worked with the right .whl file :D |
If you first install sudo apt install libspatialindex-dev
pip install rtree |
Hello,
I want to check if a cube is inside (even partially) of a mesh.
Right now I try to use mesh.contains(points), but I get the Error message
in bounds_tree
import rtree
ModuleNotFoundError: No module named 'rtree'
I installed trimesh via pip install and its the newest version.
What can I do?
The text was updated successfully, but these errors were encountered: