tensorflow / tensorflow/graphics
Cannot load rasterizer_op.so on OSX
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
I am getting the following error when I try to use the opengl or CPU backends of rasterize:
When I run import tensorflow_graphics.rendering.opengl.rasterization_backend I get
tensorflow.python.framework.errors_impl.NotFoundError: dlopen(/Users/xxxxxx/miniconda3/envs/xxxxx/lib/python3.8/site-packages/tensorflow_graphics/rendering/opengl/rasterizer_op.so, 0x0006): tried: '/Users/xxxxx/miniconda3/envs/xxxxx/lib/python3.8/site-packages/tensorflow_graphics/rendering/opengl/rasterizer_op.so' (not a mach-o file), '/usr/local/lib/rasterizer_op.so' (no such file), '/usr/lib/rasterizer_op.so' (no such file).
Do I need to build from source on Mac? What is the best way to do that?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the import of tensorflow_graphics.rendering.opengl.rasterization_backend on macOS and inspect the packaged rasterizer_op.so reported in the error. Check whether the shared object is built for macOS and review the project's source-build instructions; done means the OpenGL or CPU rasterization backend imports successfully, or the required macOS build steps are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- computer-graphics, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100