Difficulty with Screenshot Functionality in esys-particle

Asked by Zihan Zhang

Hi there.
I am getting an error because "no modul found esys.lsm.vis" when I am loading "from esys.lsm.vis import povray", and I have not found this package in this folder either. But I have also installed "povray and vtk". would like to ask how this package should be installed. Or is there something wrong with my software's environment settings. Thanks for your help!

hier is the Error
CSubLatticeControler::initMPI()
Traceback (most recent call last):
  File "/home/test/src/ESyS-Particle/esys-particle-trunk/Doc/Examples/two_particle.py", line 5, in <module>
    from esys.lsm.vis import povray
ModuleNotFoundError: No module named 'esys.lsm.vis'

my export is like this:
$ export PATH=/usr/local/bin/:$PATH
$ export LIBRARY_PATH=/usr/local/lib/:$LIBRARY_PATH
$ export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
$ export PYTHONPATH=/usr/local/lib/python3.10/dist-packages:/usr/local/lib/python3/dist-packages:$PYTHONPATH
$ export PYTHONPATH=/usr/bin/povray:$PYTHONPATH

The Ubuntu version is 22.04.

vtk and Povray with sudo apt install

Thank for u help

Question information

Language:
English Edit question
Status:
Expired
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.