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

Is there a way to change which version of blender is downloaded and installed when blenderproc is first run? #1042

Closed
VTrencsenyi opened this issue Jan 15, 2024 · 2 comments
Labels
first answer provided question Question, not yet a bug ;)

Comments

@VTrencsenyi
Copy link

Describe the issue

I would like to use the latest version instead of 3.5.1 that gets installed by default.
I have tried using the --custom-blender-path option, but then it fails with ERROR: Could not install packages due to an OSError: [Errno 30] Read-only file system: 'INSTALLER' when checking/installing dependencies.

Minimal code example

No response

Files required to run the code

No response

Expected behavior

I would like to be able to set blenderproc up with my choice of blender version.

BlenderProc version

2.6.2

@VTrencsenyi VTrencsenyi added the question Question, not yet a bug ;) label Jan 15, 2024
@cornerfarmer
Copy link
Member

Hey @VTrencsenyi,

you could change the blender version by adapting the code here: https://github.com/DLR-RM/BlenderProc/blob/main/blenderproc/python/utility/InstallUtility.py#L82

However, BlenderProc only supports one blender version. If you switch to other versions, compatibility issues might arise.

Nevertheless, it should work to use a custom blender path. Could you please paste in the full error message you get when using the --custom-blender-path option? Is your error related to #1039? Are you also using windows?

@VTrencsenyi
Copy link
Author

Hey @VTrencsenyi,

you could change the blender version by adapting the code here: https://github.com/DLR-RM/BlenderProc/blob/main/blenderproc/python/utility/InstallUtility.py#L82

However, BlenderProc only supports one blender version. If you switch to other versions, compatibility issues might arise.

Nevertheless, it should work to use a custom blender path. Could you please paste in the full error message you get when using the --custom-blender-path option? Is your error related to #1039? Are you also using windows?

The reason I was trying to use a different blender version is because I had a set of blender files that were created in 4.0 and older blender versions don't work with files from newer blender versions. I re-created the files with 3.5, now I can just stick to the default blenderproc env.

Thanks for the information, I will keep it in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first answer provided question Question, not yet a bug ;)
Projects
None yet
Development

No branches or pull requests

2 participants