Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: No such file or directory #27

Open
mpkuse opened this issue Jul 25, 2016 · 6 comments
Open

OSError: No such file or directory #27

mpkuse opened this issue Jul 25, 2016 · 6 comments

Comments

@mpkuse
Copy link

mpkuse commented Jul 25, 2016

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?

@giovannicaprio
Copy link

I have the same problem...

@momonala
Copy link

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?

@Shaofanl
Copy link

Shaofanl commented Dec 5, 2017

Same problem on Ubuntu 16.06.

@kpngwenya
Copy link

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

@ziyi-yang
Copy link

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

#18

@ImaneFerradj
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants