| 1 | initial version |
The ImportError: cannot import name 'THREEJS_DIR' is happening in conda-forge because there is no three.js packaged in conda yet. You could open an issue at https://github.com/conda-forge/sage-feedstock so we can work on a fix.
I don't know why you don't get any visible output with online=True. This seems like something is broken in your local setup. Somewhere in your .sage directory (probably ~/.sage/temp) there should be an HTML file that you could open manually in your browser in the meantime.
To debug what's going on, you could try to run something like
sage: _system = os.system
sage: def system(*args, **kwargs):
....: print(args, kwargs)
....: _system(*args, **kwargs)
....:
sage: os.system = system
sage: P.show(viewer='threejs', online=True)
You should then see the command that sage is trying to run.
You should probably open a ticket at trac.sagemath.org about this (after checking that no such ticket exists yet.) Python3 support in Sage is very experimental.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.