Skip to content

FileNotFoundError: [WinError 2] The system cannot find the file specified #53

@GuruOfPython

Description

@GuruOfPython

I use Windows 10. I installed povwin-3.7-agpl3-setup.exe and ran the sample code, but I noticed error;

  • Code
    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)

  • Error
    Traceback (most recent call last):
    File "C:\Users\Lion\Anaconda3\lib\subprocess.py", line 775, in init
    restore_signals, start_new_session)
    File "C:\Users\Lion\Anaconda3\lib\subprocess.py", line 1178, in _execute_child
    startupinfo)
    File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.3\helpers\pydev_pydev_bundle\pydev_monkey.py", line 536, in new_CreateProcess
    return getattr(_subprocess, original_name)(app_name, patch_arg_str_win(cmd_line), *args)
    FileNotFoundError: [WinError 2] The system cannot find the file specified

  • Need Help
    How can I fix this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions