vedo
vedo copied to clipboard
There was a problem running file 'examples/notebooks/manipulate_camera.ipynb'
trafficstars
Dear @marcomusy, When I run 'manipulate_camera.ipynb' on vscode, the following error occurred:
ModuleNotFoundError Traceback (most recent call last)
e:\Python\Anaconda\lib\site-packages\vedo-2023.4.3-py3.8.egg\vedo\backends.py in start_k3d(actors2show)
111 try:
--> 112 import k3d
113 if str(k3d.__version__) != "2.7.4":
ModuleNotFoundError: No module named 'k3d'
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
<ipython-input-26-b04ed7fdddd6> in <module>
3 bu=vedo.Mesh(vedo.dataurl+'bunny.obj')
4
----> 5 bu.show()
e:\Python\Anaconda\lib\site-packages\vedo-2023.4.3-py3.8.egg\vedo\base.py in show(self, **options)
791 Returns the ``Plotter`` class instance.
792 """
--> 793 return vedo.plotter.show(self, **options)
794
795
e:\Python\Anaconda\lib\site-packages\vedo-2023.4.3-py3.8.egg\vedo\plotter.py in show(at, shape, N, pos, size, screensize, title, bg, bg2, axes, interactive, offscreen, sharecam, resetcam, zoom, viewup, azimuth, elevation, roll, camera, mode, q, new, backend, *actors)
...
--> 115 except ModuleNotFoundError("Cannot find k3d, install with: pip install k3d==2.7.4"):
116 return None
117
TypeError: catching classes that do not inherit from BaseException is not allowed
What should I do? Any ideas that could help me fix this would be appreciated! Thanks in advance!
As the error message says you just need to install k3d
pip install k3d==2.7.4
I really appreciate your help!