New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DirectionalLight on Google Colab #388
Comments
Hi, as @francesco-ballarin, I have issue when trying to use |
I can reproduce the above error on my local JupyterLab installation on Ubuntu 22.04, no connection to Google Colab. I initially encountered this error using pythreejs via PyVista. Versions (not sure which ones are most important):
|
Thanks @hakonanes , so it seems that the issue may affect jupyterlab installations as well. After 3 months, it would be nice to have a comment or suggestion from pythreejs develoeprs. |
The problem is not specific to |
I also got this error on my local macOS, after upgrading my packages. Now, I could find a temporary fix. For that I wrote the
environment.yml:
By removing the last line, the above mentioned error appears again. P.S. Strangely |
Thanks @kazumamatata for the report and the workaround on macOS. In terms of the original bug report (on Colab), I want to point out for
|
I did a bit of troubleshooting on this, and noted the following:
|
It might also be an issue in the new |
Ah, I had ipykernel 6.19.4, |
Colab is quite a lot behind current releases, and therefore definitely satisfies that condition. See https://github.com/googlecolab/backend-info/blob/2cec3e7ca1ae121133d9f8ee350e2aebf4518293/pip-freeze.txt#L163 |
To troubleshoot colab issues, I suggest you reach out to colab :) |
Done that, googlecolab/colabtools#3159 ;) |
My main motivation was using |
Hi,
I am trying to use pythreejs on Google Colab, and I am seeing a failure related to
DirectionalLight
.A minimal notebook to reproduce has the following content:
Cell 4 runs correctly, the box shows up and the user can interact with it.
Cell 5 runs, a black background gets rendered, but immediately below the black widget there are several instances of
I suspect that some of
pythreejs
dependencies already pre-installed on Colab are quite old, and by runningpip install --upgrade
on the right dependency the error would disappear. Unfortunately, I can't pinpoint which dependency I should upgrade. Can you help me with that?The only dependency I am confident one must not upgrade is
ipywidgets
: it seems that doing so would make Cell 2 ineffective, and Cell 2 is fundamental for the widget in Cell 4 to correctly show up.The same notebook, and much more complicated ones, run correctly on my local jupyter lab installation.
The text was updated successfully, but these errors were encountered: