Problem Paraview/VTK

Dear All,

When I run the example “web-project-templates-master” in Windows gives the following error:

C:\Users\Luis.Goncalves_ext\novo_botao>"C:\Program Files\ParaView 5.9.1-Windows-Python3.8-msvc2017-64bit\bin\pvpython" .\server\vtkpython\vtkw-server.py --content .\dist --port 1234
Traceback (most recent call last):
  File ".\server\vtkpython\vtkw-server.py", line 40, in <module>
    from wslink import server
  File "C:\Program Files\ParaView 5.9.1-Windows-Python3.8-msvc2017-64bit\bin\Lib\site-packages\wslink\server.py", line 16, in <module>
    from wslink import websocket as wsl
  File "C:\Program Files\ParaView 5.9.1-Windows-Python3.8-msvc2017-64bit\bin\Lib\site-packages\wslink\websocket.py", line 18, in <module>
    from autobahn.twisted.websocket import WebSocketServerFactory
  File "C:\Program Files\ParaView 5.9.1-Windows-Python3.8-msvc2017-64bit\bin\Lib\site-packages\autobahn\twisted\__init__.py", line 54, in <module>
    from autobahn.twisted.wamp import ApplicationSession
  File "C:\Program Files\ParaView 5.9.1-Windows-Python3.8-msvc2017-64bit\bin\Lib\site-packages\autobahn\twisted\wamp.py", line 48, in <module>
    from autobahn.wamp import protocol, auth
  File "C:\Program Files\ParaView 5.9.1-Windows-Python3.8-msvc2017-64bit\bin\Lib\site-packages\autobahn\wamp\auth.py", line 40, in <module>
    from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
ModuleNotFoundError: No module named 'cryptography'

Can you please give a solution?

Thanks,

Luís Gonçalves

From VTK Forum.

If I install Paraview 5.9.0 solves?

Which is the master? MPI version?

Bug in paraview 5.9 release, use ParaView master.

Which is the master? MPI version?

The simplest way for you would be to download the nightly release of ParaView, but it is not available right now. It should be in a few days.

You could also build the superbuild yourself:
https://gitlab.kitware.com/paraview/paraview-superbuild

The MPI version gives the same error.

ParaView 5.9.0-RC2-Windows-Python3.8-msvc2017-64bit works?

How many days is few days?

Luis,
Lets say days, not weeks. Number is not determined, units are.

1 Like