Open3D
Open3D copied to clipboard
Inheritance of classes
Checklist
- [X] I have searched for similar issues.
- [X] For Python issues, I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
masterbranch).
Describe the issue
same as https://github.com/isl-org/Open3D/issues/572
class Test(o3d.geometry.TriangleMesh):
pass
if __name__ == '__main__':
a = Test()
TypeError: pybind11::init(): unable to convert returned instance to required alias class: no `Alias<Class>(Class &&)` constructor available
Steps to reproduce the bug
class Test(o3d.geometry.TriangleMesh):
pass
if __name__ == '__main__':
a = Test()
TypeError: pybind11::init(): unable to convert returned instance to required alias class: no `Alias<Class>(Class &&)` constructor available
Error message
No response
Expected behavior
No response
Open3D, Python and System information
- Operating system: Ubuntu 20.04
- Python version: Python 3.8
- Open3D version: 0.15.2
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: pip
Additional information
No response