# Paraview headless archive missing cryptography module required for remote rendering server demo

**URL:** https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299
**Category:** Web Support
**Created:** [May 26, 2021, 10:40am UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299 "2021-05-26T10:40:40Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![mbm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mbm/32/6766_2.png) [@mbm](https://discourse.paraview.org/u/mbm)
#### Post date: [May 26, 2021, 10:40am UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/1 "2021-05-26T10:40:40Z")

</div>

I am using the 5.9.1 headless egl archive and when i try to use the official demo code for the paraview remote rendering server, the demo does not run because the included python is missing the cryptography module. It seems like I will have to compile paraview to include this, but I was wondering if this is the expected behavior?

./pvpython …/…/server\_test/pv\_server.py  
Traceback (most recent call last):  
File “…/…/server\_test/pv\_server.py”, line 6, in   
from paraview.web import pv\_wslink  
File “/home/mbm/projects/Paraview/ParaView-5.9.1-egl-MPI-Linux-Python3.8-64bit/lib/python3.8/site-packages/paraview/web/pv\_wslink.py”, line 5, in   
from vtkmodules.web import wslink as vtk\_wslink  
File “/home/mbm/projects/Paraview/ParaView-5.9.1-egl-MPI-Linux-Python3.8-64bit/lib/python3.8/site-packages/vtkmodules/web/wslink.py”, line 14, in   
from autobahn.twisted.websocket import WebSocketServerProtocol  
File “/home/mbm/projects/Paraview/ParaView-5.9.1-egl-MPI-Linux-Python3.8-64bit/lib/python3.8/site-packages/autobahn/twisted/ **init**.py”, line 54, in   
from autobahn.twisted.wamp import ApplicationSession  
File “/home/mbm/projects/Paraview/ParaView-5.9.1-egl-MPI-Linux-Python3.8-64bit/lib/python3.8/site-packages/autobahn/twisted/wamp.py”, line 48, in   
from autobahn.wamp import protocol, auth  
File “/home/mbm/projects/Paraview/ParaView-5.9.1-egl-MPI-Linux-Python3.8-64bit/lib/python3.8/site-packages/autobahn/wamp/auth.py”, line 40, in   
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC  
ModuleNotFoundError: No module named ‘cryptography’

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 26, 2021, 10:55am UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/2 "2021-05-26T10:55:16Z")

</div>

Where does this pv\_server.py come from ?

---

<div class="post-metadata">

### Author: ![mbm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mbm/32/6766_2.png) [@mbm](https://discourse.paraview.org/u/mbm)
#### Post date: [May 26, 2021, 11:38am UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/3 "2021-05-26T11:38:44Z")

</div>

> **[vtk.js](https://kitware.github.io/vtk-js/examples/RemoteView.html)**
>
> RemoteViewLive example # RemoteView The RemoteView can be used with either the VTK-Web or ParaView-Web servers.The current example will not work until you start one of the servers below onyour local

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [May 26, 2021, 12:40pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/4 "2021-05-26T12:40:44Z")

</div>

You’ll have to bring it in a virtual-env on the side by adding some command line argument and extending the original script to mimic what is done [here](https://github.com/Kitware/visualizer/blob/master/server/pvw-visualizer.py#L83-L92).

We are working on it to remove such dependency in the future for ParaView 5.10 as we don’t want to bring `cryptography` as a dependency.

FYI @Scott_Wittenburg @ben.boeckel

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 26, 2021, 2:37pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/5 "2021-05-26T14:37:38Z")

</div>

I wanted to get `cryptography` into 5.9.1, but it was hairier than I’d have liked and it never happened. It is done for 5.10 now though.

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [May 26, 2021, 3:07pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/6 "2021-05-26T15:07:03Z")

</div>

Thanks @ben.boeckel !

---

<div class="post-metadata">

### Author: ![Luis\_Carlos\_Carneiro](https://discourse.paraview.org/user_avatar/discourse.paraview.org/luis_carlos_carneiro/32/5986_2.png) [@Luis\_Carlos\_Carneiro](https://discourse.paraview.org/u/Luis_Carlos_Carneiro)
#### Post date: [June 30, 2021, 11:11am UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/7 "2021-06-30T11:11:27Z")

</div>

Where I can find ParaView 5.10?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [June 30, 2021, 12:14pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/8 "2021-06-30T12:14:04Z")

</div>

ParaView 5.10 is due out in Fall 2021.

---

<div class="post-metadata">

### Author: ![Luis\_Carlos\_Carneiro](https://discourse.paraview.org/user_avatar/discourse.paraview.org/luis_carlos_carneiro/32/5986_2.png) [@Luis\_Carlos\_Carneiro](https://discourse.paraview.org/u/Luis_Carlos_Carneiro)
#### Post date: [June 30, 2021, 12:27pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/9 "2021-06-30T12:27:17Z")

</div>

I am getting this problem. How to solve it? In Windows?  
The release is:ParaView 5.9.1-MPI-Windows-Python3.8-msvc2017-64bit

I have in another computer working with:ParaView 5.9.0-RC2-Windows-Python3.8-msvc2017-64bit

Where I can get this last version to test?

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [June 30, 2021, 3:38pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/10 "2021-06-30T15:38:51Z")

</div>

Use the nightly binaries or an older version of ParaView…

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 30, 2021, 4:20pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/11 "2021-06-30T16:20:21Z")

</div>

Nightlies are currently broken. @ben.boeckel @cory.quammen

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [June 30, 2021, 4:59pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/12 "2021-06-30T16:59:22Z")

</div>

Just download 5.9.0 instead of 5.9.1 from the download page…

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 30, 2021, 5:10pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/13 "2021-06-30T17:10:24Z")

</div>

We are on it.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 30, 2021, 5:11pm UTC](https://discourse.paraview.org/t/paraview-headless-archive-missing-cryptography-module-required-for-remote-rendering-server-demo/7299/14 "2021-06-30T17:11:18Z")

</div>

Thanks Mathieu. Kitware rocks.
