import tetrahedron error
Hi
Sagemath10.4, Ubuntu24.04, WSL, Edge with Copilot, W11
AI Copilot said me :
that’s a classic SageMath quirk. The error:
from sage.plot.plot3d.shapes2 import tetrahedron
ImportError: cannot import name 'tetrahedron' from 'sage.plot.plot3d.shapes2'
means Sage doesn’t actually provide a tetrahedron function in that module, even though it seems like it should. That import line is misleading — and I’m guilty of trusting it too quickly.
#import sage.plot.plot3d.shapes2
#tetrahedron?
from sage.plot.plot3d.shapes2 import tetrahedron
is her,he,it right ?
I forgot to precise :jupyter-notebook : 5.2.2