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\ --content .\dist --port 1234
Traceback (most recent call last):
  File ".\server\vtkpython\", 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\", 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\", 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\", 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\", 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\", line 40, in <module>
    from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
ModuleNotFoundError: No module named 'cryptography'

Can you please give a solution?


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:

The MPI version gives the same error.

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

How many days is few days?

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

1 Like