i am trying to load .stl files into voxelgrids on binder so other people can view it - i am using open3d to achieve this, but for some reason (even though it works on localhost) the notebook gets an error in the import open3d line.
OSError: libusb-1.0.so.0: cannot open shared object file: No such file or directory
both libusb and open3d are in a requirements.txt, i cannot find anything about this error. also, .off files without open3d load with no problems.
if you want to look at my code/the exact error, i have it on stackoverflow here.
I’d start with making a binder directory and just put a new requirements.txt in there with only the packages you need and nothing pinned. Nothing that Binder already has. No notebook, jedi, nbconvert, nbformat, jupyter*, etc… Just the unusual packages you might need. Use the example binder if you are in doubt if it already has a module.
I switched to installing it with conda and got a different issue with libGL and so I think we can fix it with an apt.txt config file.
changed the requirements.txt like that - didnt fix it.
thats the exact error i am getting, looks like open3d is the problem - but the normal pyntcloud conversion works, its just open3d that doesnt.
does open3d need a gpu? i havent seen that anywhere - but that might explain why it runs on localhost…
Don’t worry. There’s a lot of tech in play in making Binder work and so making a repo binder-ready isn’t always straightforward. While most cases it is, you definitely stumbled upon one of those rare cases and that is why the ‘help-wanted’ topic for Binder exists.