Skip to content

Bug Report: macOS Not Supported in install_blender #31

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

Closed
sumn2u opened this issue Apr 2, 2025 · 0 comments · Fixed by #32
Closed

Bug Report: macOS Not Supported in install_blender #31

sumn2u opened this issue Apr 2, 2025 · 0 comments · Fixed by #32
Assignees

Comments

@sumn2u
Copy link

sumn2u commented Apr 2, 2025

The install_blender function in setup_utils.py does not support macOS (Darwin). The function currently checks for Windows and Linux but does not handle macOS, causing an immediate exit with an "Unsupported OS" message.

Affected Code

os_type = platform.system()
if os_type == "Windows":
    file_name = f"blender-{version}-windows-x64.zip"
    extract_func = extract_zip
elif os_type == "Linux":
    file_name = f"blender-{version}-linux-x64.tar.xz"
    extract_func = extract_tar
else:
    print("Unsupported OS")
    sys.exit(1)

Expected Behavior

The function should handle macOS (Darwin) appropriately by either providing a valid Blender package URL for macOS or explicitly stating in the README that macOS is not supported.

Steps to Reproduce

  1. Run the function on macOS.
  2. Observe that it prints "Unsupported OS" and exits.

Suggested Fix

  • Add explicit support for macOS by checking for os_type == "Darwin" and providing the appropriate Blender package.
  • If macOS is not intended to be supported, update the README to mention this explicitly.

Additional Context

The issue affects users attempting to install Blender on macOS via this script, leading to confusion. Updating the documentation or the function would improve clarity.

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

Successfully merging a pull request may close this issue.

2 participants