found bundled python: /snap/blender/51/2.91/python
['/usr/bin/sphinx-build', '-M', 'html', 'source', 'build'] /home/alberto/Documents/BlenderProc/docs
Traceback (most recent call last):
File "/home/alberto/Documents/BlenderProc/docs/run.py", line 13, in <module>
exec(open("/usr/bin/sphinx-build").read())
File "<string>", line 6, in <module>
ModuleNotFoundError: No module named 'pkg_resources'
Do you may know what should I do,
I tried to reinstall setuptools but nothing
Hey @albertotono,
I cannot really reproduce your error. Reinstalling setuptools probably does not help, as run.py is run inside blender's python environment.
One thing you could try is, removing your current blender installation, then running BlenderProc (e.q. the basic example) to download blender and setup its python environment again from scratch.
I did sudo snap remove blender, but the folder that has been created running the example is still there, how can I remove it ( and uninstall it properly?!
Traceback (most recent call last):
File "/home/alberto/Documents/BlenderProc/docs/run.py", line 13, in <module>
exec(open("/usr/bin/sphinx-build").read())
File "<string>", line 6, in <module>
File "/home/alberto/blender/blender-2.91.0-linux64/2.91/python/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3250, in <module>
@_call_aside
File "/home/alberto/blender/blender-2.91.0-linux64/2.91/python/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/home/alberto/blender/blender-2.91.0-linux64/2.91/python/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/alberto/blender/blender-2.91.0-linux64/2.91/python/lib/python3.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master
return cls._build_from_requirements(__requires__)
File "/home/alberto/blender/blender-2.91.0-linux64/2.91/python/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/home/alberto/blender/blender-2.91.0-linux64/2.91/python/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Sphinx==1.8.5' distribution was not found and is required by the application
I unistalled but, I am not sure now why I have this
Hey @albertotono ,
this seems all very strange. Its always hard to get sphinx to work, especially in the blender environment.
However, I have good news for you, we have now hosted the rendered docs on github pages: https://dlr-rm.github.io/BlenderProc
So, I thinks its not necessary anymore for you to build the docs locally, you can just look it up online.
There are some smaller bugs in the formatting of the docs at the moment, but we gonna hopefully resolve them in the next few days.
Most helpful comment
Hey @albertotono ,
this seems all very strange. Its always hard to get sphinx to work, especially in the blender environment.
However, I have good news for you, we have now hosted the rendered docs on github pages: https://dlr-rm.github.io/BlenderProc
So, I thinks its not necessary anymore for you to build the docs locally, you can just look it up online.
There are some smaller bugs in the formatting of the docs at the moment, but we gonna hopefully resolve them in the next few days.