You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had downloaded the blender on browser. However, I got error with blenderproc run ./quickstart.py --custom-blender-path D:/blender-3.3.1-windows-x64/
Traceback (most recent call last):
File "D:\ProgramData\miniconda3\envs\blenderproc\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\ProgramData\miniconda3\envs\blenderproc\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\ProgramData\miniconda3\envs\blenderproc\Scripts\blenderproc.exe\__main__.py", line 7, in <module>
File "D:\ProgramData\miniconda3\envs\blenderproc\lib\site-packages\blenderproc\command_line.py", line 149, in cli
blender_run_path, major_version = InstallUtility.make_sure_blender_is_installed(custom_blender_path,
File "D:\ProgramData\miniconda3\envs\blenderproc\lib\site-packages\blenderproc\python\utility\InstallUtility.py", line 239, in make_sure_blender_is_installed
blender_run_path = os.path.join(blender_install_path, blender_version, "blender")
UnboundLocalError: local variable 'blender_version' referenced before assignment
I found the blender_version was defined in condition if custom_blender_path is None: at line 96, which indicated there is something wrong at platform "win32"
OS:
Windows 10
Minimal code example
No response
Files required to run the code
No response
Expected behavior
Successful run script
BlenderProc version
v2.6.2
The text was updated successfully, but these errors were encountered:
thanks for the issue report. This should already be fixed by #972 and will be part of the next version.
Until then, you could use the current blenderproc state on the main branch.
Describe the issue
I had downloaded the blender on browser. However, I got error with
blenderproc run ./quickstart.py --custom-blender-path D:/blender-3.3.1-windows-x64/
I found the
blender_version
was defined in conditionif custom_blender_path is None:
at line 96, which indicated there is something wrong at platform "win32"OS:
Windows 10
Minimal code example
No response
Files required to run the code
No response
Expected behavior
Successful run script
BlenderProc version
v2.6.2
The text was updated successfully, but these errors were encountered: