vapory
vapory copied to clipboard
FileNotFoundError: [WinError 2] The system cannot find the file specified
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?
I have the same error
I found a solution to the problem here: https://stackoverflow.com/questions/58963669/vapory-error-filenotfounderror-winerror-2-the-system-cannot-find-the-file-sp
thanks @rafael-fuente that was very helpful. vapory
should try to catch this error and provide a more helpful error message.
I found a solution to the problem here: https://stackoverflow.com/questions/58963669/vapory-error-filenotfounderror-winerror-2-the-system-cannot-find-the-file-sp
I followed the steps to make changes, but the following error still appeared
Traceback (most recent call last):
File "C:\Users\User1\Desktop\SpecVQGAN-main\specVQ.py", line 33, in