|
|
On 07/11/14 13:14, Florent wrote:
> Hello,
>
> The program I use to model particle interactions provides visualization through
> povray. Despite my best attempts, I can' import povray into python 2.7.8 on
> Ubuntu 14.10:
>
> $ python
> Python 2.7.8 (default, Oct 20 2014, 15:05:29)
> [GCC 4.9.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import povray
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named povray
>>>>
>
>
> I first tried using the prepackaged version from apt-get, then uninstalled it
> and manually compiled the github library. Same non-result, but povray seems to
> be installed just fine.
>
> Any help would be greatly appreciated !
> Florent
>
>
I'm not going to say RTFM, but bear in mind that subprocess and os are
modules that will help you.
So:
import subprocess, os
will help
Without further details I can't really help more.
John
--
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children
Post a reply to this message
|
|