povray module import error

Asked by me

Hello !

I have problem with importing of povray module:

import povray
ImportError: No module named povray

I am using:
-- Linux tau 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux

and povray:
-- POV-Ray(1) Version 3.7

I have checked some of the solutions of the same problem discussed here.
My Python is :
lrwxrwxrwx 1 root root 9 Mar 17 2015 /usr/bin/python -> python2.7

$ echo $PATH
/usr/local/bin/:/usr/local/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/visit/bin/:/home/meik/R-3.2.3/bin/

$LD_LIBRARY_PATH/usr/local/lib/:/usr/local/lib/:

I would be thankful if you could help me !

Marika

Question information

Language:
English Edit question
Status:
Answered
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dion Weatherley (d-weatherley) said :
#1

Hi Marika,

It is possible that esys-particle was installed on your system without support for povray. For the past few years it has been necessary to separately install povray from source code prior to installing esys-particle.

How did you install esys-particle? From source code or from a binary package using 'apt-get' or similar?

I should also note that the povray features in esys-particle are now deprecated in favour of outputing checkpoint files and using dump2vtk/paraview for data visualisation. More information about how to do this can be found in the ESyS-Particle Tutorial.

Cheers,

Dion

Revision history for this message
me (neimarik) said :
#2

Hello Dion !

Thank you for the feedback.

I installed the Esys-Particle from the source code.
I tried to install the Povray following the instructions here: https://answers.launchpad.net/esys-particle/+faq/1613

I reminded, that 1,5 years ago I installed Esys-Particle on Deb 7 and separately installed povray from the source and everything worked.
Unfortunately the same path does not work now anymore, except I am using more fresh Esys-Particle and Deb 8.

So, as I understand for visualisation it is better to use Paraview?
Do you have some example code of visualising of bingle_vis.py using dump2vtk/Paraview.

Best,
Marika

Revision history for this message
Dion Weatherley (d-weatherley) said :
#3

Hi Marika,

There is some information about dump2vtk in the Tutorial (section 3.3.1). You may also find this page useful:
http://scientificandhpcomputing.blogspot.com.au/2009/07/dump2vtk-tips-tricks.html

(thanks Michele!)

There's also a diagram showing how to visualise particles using (an older version of) Paraview here:
https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxkaW9ud2VhdGhlcmxleXxneDpkZDIxZmYxNWE4NDI5ZTc

The concept remains the same for newer versions of Paraview but the GUI has changed somewhat.

I hope this helps.

Cheers,

Dion

Can you help with this problem?

Provide an answer of your own, or ask me for more information if necessary.

To post a message you must log in.