<div dir="ltr"><div><div><div>I am under Ubuntu 16.04 LTS.<br><br>I have currently two versions of Paraview:<br>1. Paraview 5.0.1, installed with apt-get. It is using Python 2.7.12.<br>2. ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit, simply expanded. It uses Python 2.7.11.<br></div><br>When I use version 2 of pvpython (~/apps/ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/bin/pvpython) I get the error<br><br>    import readline<br>ImportError: No module named readline<br><br>from my ~/.pythonrc.<br><br><div>In version 1 of pvpython, readline resides in /usr/lib/python2.7/lib-dynload<br>>>> readline.__file__<br>'/usr/lib/python2.7/lib-dynload/<a href="http://readline.x86_64-linux-gnu.so">readline.x86_64-linux-gnu.so</a>'<br>.<br></div><div>In version 2 readline is not present anywhere in ~/apps/ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/<br><br></div><div>Why is this?<br></div><div>Can it be fixed?<br><br></div><div>PS: directory ~/apps/ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/lib-dynload (where I expected to find readline given version 1) is empty.<br></div><div>Many of the modules which in version 1 reside in /usr/lib/python2.7/lib-dynload, are present in lib/python2.7, not in lib/python2.7/lib-dynload, in version2:<br><br>>>> import parser<br>>>> parser.__file__<br>'/home/santiago/apps/ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/parser.so'<br><br></div><div>But readline is an exception here.<br></div><br></div></div></div>