MIT-SPARK / TEASER-plusplus

A fast and robust point cloud registration library
MIT License
1.81k stars 343 forks source link

[BUG] When I run teaser_cpp_fpfh example,I run into this problem #131

Closed nottoday0927 closed 2 years ago

nottoday0927 commented 2 years ago

Thanks for your work.!!!I followed the steps to compile Python binding, everything went well, but when I run teaser_python_ply.py or other examples, the following error appears, how can I solve it?

Describe the bug ModuleNotFoundError: No module named 'teaserpp_python.teaserpp_python'

Have you run the unit tests?

Installed Dependencies ubuntu 20.01

To Reproduce (teaser_test) root@yjh-virtual-machine:/home/yjh/TEASER-plusplus/examples/teaser_python_ply# python teaser_python_ply.py

Traceback (most recent call last): File "teaser_python_ply.py", line 5, in import teaserpp_python File "/home/yjh/anaconda3/envs/teaser_test/lib/python3.6/site-packages/teaserpp_python/init.py", line 1, in from .teaserpp_python import * ModuleNotFoundError: No module named 'teaserpp_python.teaserpp_python'

gitouni commented 2 years ago

Have you built your teaserpp_python module with pybind11?

nottoday0927 commented 2 years ago

Have you built your teaserpp_python module with pybind11? Thank you for answering patiently! I have solved the problem

ChillTerry commented 1 year ago

I met the same error, may you share the experience of fixing it? thx so much!