GithubHelp home page GithubHelp logo

Comments (8)

jourdain avatar jourdain commented on July 19, 2024 1

Can you provide any more information? Any error or feedback in the browser console?
Also make sure to clear your bowser cache.

from pyvista.

liuzhenqi77 avatar liuzhenqi77 commented on July 19, 2024 1

I further tried the following cases but the results are still the same. However, I do not see any of the console errors above in my case (there are some other errors, which do not seem to be related to this plot).

  • creating a clean new conda environment with up-to-date vtk, pyvista, trame packages as shown above
  • switch from osmesa version of vtk to qt version
  • conda revert to revision somehow always fails for me, so I manually downgraded these packages to the version that was working for me: trame (3.6.0->3.5.2), trame-vuetify (2.4.3->2.4.2), pyvista (0.43.5->0.43.3)

It's quite surprising that it still does not work after I reverted the 3 key packages. Is there maybe something else I missed?

from pyvista.

sudmat avatar sudmat commented on July 19, 2024 1

Downgrading jupyterlab from 4.1.6 to 3.6.6 worked for me.

from pyvista.

sherr116 avatar sherr116 commented on July 19, 2024 1

Hello, I met the plotting problem as well yesterday.

This was solved by installing the pyvista package with the [all,trame] extras:

pip install pyvista[all,trame]

I got this idea from the offical website guide from pyvista: https://tutorial.pyvista.org/tutorial/00_jupyter/index.html

The installation recommanded from this link is originally :
pip install 'jupyterlab>=3' ipywidgets 'pyvista[all,trame]'

However, at first, it went wrong, like this :

(env003) F:\>pip install 'jupyterlab>=3' ipywidgets 'pyvista[all,trame]'
ERROR: Invalid requirement: "'jupyterlab"

Then i tried :

pip install pyvista[all,trame]

Finally, the interactive plotting works again.

In the end, my packages versions below:

python                    3.9.19               h1aa4202_0

vtk                       9.3.0                    pypi_0    pypi

trame                     3.6.0                    pypi_0    pypi
trame-client              3.0.2                    pypi_0    pypi
trame-server              3.0.0                    pypi_0    pypi
trame-vtk                 2.8.5                    pypi_0    pypi
trame-vuetify             2.4.3                    pypi_0    pypi

jupyter                   1.0.0                    pypi_0    pypi
jupyter-client            8.6.1                    pypi_0    pypi
jupyter-console           6.6.3                    pypi_0    pypi
jupyter-core              5.7.2                    pypi_0    pypi
jupyter-events            0.10.0                   pypi_0    pypi
jupyter-lsp               2.2.5                    pypi_0    pypi
jupyter-server            2.14.0                   pypi_0    pypi
jupyter-server-proxy      4.1.2                    pypi_0    pypi
jupyter-server-terminals  0.5.3                    pypi_0    pypi
jupyterlab                4.1.6                    pypi_0    pypi
jupyterlab-pygments       0.3.0                    pypi_0    pypi
jupyterlab-server         2.26.0                   pypi_0    pypi
jupyterlab-widgets        3.0.10                   pypi_0    pypi

from pyvista.

tkoyama010 avatar tkoyama010 commented on July 19, 2024

I tried it in the following environment. It worked fine. Could you please uninstall vtk, vtk-base and vtk-io-ffmpeg once and install them again with conda?

# packages in environment at /home/tetsuo/anaconda3:
#
# Name                    Version                   Build  Channel
pyvista                   0.43.5             pyhd8ed1ab_0    conda-forge
trame                     3.6.0              pyhd8ed1ab_0    conda-forge
trame-client              3.0.1              pyhd8ed1ab_0    conda-forge
trame-components          2.3.0              pyhd8ed1ab_0    conda-forge
trame-server              3.0.0              pyhd8ed1ab_0    conda-forge
trame-vtk                 2.8.5              pyhd8ed1ab_0    conda-forge
trame-vuetify             2.4.3              pyhd8ed1ab_0    conda-forge
vtk                       9.2.6           qt_py310h1234567_220    conda-forge
vtk-base                  9.2.6           qt_py310h1234567_220    conda-forge
vtk-io-ffmpeg             9.2.6           qt_py310h1234567_220    conda-forge

from pyvista.

sudmat avatar sudmat commented on July 19, 2024

I have the same issue. Reinstalling vtk, vtk-base and vtk-io-ffmpeg from conda didn't help.
image

from pyvista.

sudmat avatar sudmat commented on July 19, 2024

Can you provide any more information? Any error or feedback in the browser console? Also make sure to clear your bowser cache.

Thank you, sir. I tried clearing the cache but not helping

Error in the browser console (The first error and failed to fetch ipywidgets warning occurs on openning the notebook, the second error occurs on executing p.show()):
image

My environment from pv.Report()
image

Code to repreducing the loading problem:
image

from pyvista.

jourdain avatar jourdain commented on July 19, 2024

Side note the conda forge recipe for trame is not bounding wslink properly when installing trame<3.6. You will have to manually force wslink<2 too.

from pyvista.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.