Skip to content
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

ImportError: cannot import name 'BoundingVolumeBox' from 'py3dtiles' #149

Open
q-chen95 opened this issue Jul 2, 2023 · 3 comments
Open

Comments

@q-chen95
Copy link

q-chen95 commented Jul 2, 2023

I have already install py3dtiles and other require, but when i run test_objTiler.py, an error occurs.
can you help me?thanks

@LorenzoMarnat
Copy link
Collaborator

Hello, it may be due to an old version of py3dtiles, a package used by py3dtilers.

You should try to either:

Make a fresh install of py3dtilers

Follow installation notes but add --no-cache-dir in the pip install:

pip install -e . --no-cache-dir

Uninstall py3dtiles and get a newer version

pip uninstall py3dtiles
pip install -e .

@q-chen95
Copy link
Author

q-chen95 commented Jul 5, 2023

thank you!l solved "cannot import name 'BoundingVolumeBox' from 'py3dtiles'" when i used py3dtiles5.0.
but a new problem occurs "ImportError: cannot import name 'GlTFMaterial' from 'py3dtiles'"
i search GlTFMaterial in guidance and py,but not found.

@LorenzoMarnat
Copy link
Collaborator

Hello,

I think pip installed Oslandia's Py3DTiles, while we use our own fork of Py3DTiles in Py3DTilers. Once you have uninstalled Py3DTiles, ensure pip is installing Py3DTiles from our GitHub fork, with Tiler branch (as specified in the setup.py). The best way to ensure that is to make a fresh Py3DTilers install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants