Zulko/vapory

OSError: No such file or directory

mpkuse opened this issue · 6 comments

I could install vapory. I tried the example you gave.

from vapory import *

camera = Camera( 'location', [0,2,-3], 'look_at', [0,1,2] )
light = LightSource( [2,4,-3], 'color', [1,1,1] )
sphere = Sphere( [0,1,2], 2, Texture( Pigment( 'color', [1,0,1] )))

scene = Scene( camera, objects= [light, sphere])
scene.render("purple_sphere.png", width=400, height=300)

scene.render() call fails
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/vapory/vapory.py", line 102, in render
quality, antialiasing, remove_temp)
File "/usr/local/lib/python2.7/dist-packages/vapory/io.py", line 106, in render_povstring
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Any pointers?

I have the same problem...

Were you able to solve this? I just installed Vapory and am getting this issue as well. I saw you posted a more advanced issue so I'm assuming you've figured this out?

Same problem on Ubuntu 16.06.

Same problem on Windows 10 Python3. Thought I was the only one.

Hi,
I solve by I editing the config.py as follows:
POVRAY_BINARY = path/to/povray/binary

#18

Hi ! I am having the same issue on Windows 10, where is the file config.py pls?