8000 Mac OSX requires pre-compiled libs · Issue #128 · TylerGubala/blenderpy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Mac OSX requires pre-compiled libs #128
Open
@y-zheng18

Description

@y-zheng18

When installing bpy on my mac M1, I got the following error. Installing from whl also fails. Is there any solutions?

Collecting bpy
  Using cached bpy-2.82.1.tar.gz (19 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: bpy
  Building wheel for bpy (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [218 lines of output]
      /Users/yangzheng/code/anaconda/anaconda3/envs/b1/lib/python3.7/site-packages/setuptools/installer.py:30: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        SetuptoolsDeprecationWarning,
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.9-x86_64-3.7
      creating build/lib.macosx-10.9-x86_64-3.7/blenderpy
      copying blenderpy/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/blenderpy
      copying blenderpy/pre_uninstall.py -> build/lib.macosx-10.9-x86_64-3.7/blenderpy
      copying blenderpy/post_install.py -> build/lib.macosx-10.9-x86_64-3.7/blenderpy
      running build_ext
      Preparing the build environment
      Searching for compatible Blender online (this will take a while)
      ...
        PkgResourcesDeprecationWarning,
      /Users/yangzheng/code/anaconda/anaconda3/envs/b1/lib/python3.7/site-packages/pkg_resources/__init__.py:125: PkgResourcesDeprecationWarning: 9.x is an invalid version and will not be supported in a future release
        PkgResourcesDeprecationWarning,
      Found compatible Blender version 2.82
      Cloning Blender source from git (this will take a while)
      Cloning precompiled libs from svn (this will take a while)
      cmake -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON -DWITH_OPENMP=OFF -DWITH_AUDASPACE=OFF -S/private/var/folders/h6/m7p6_f554w127r9zlmw_jh4m0000gn/T/pip-install-1ajkrg89/bpy_c4c35c5da21c4a39ae80827e38bf946f/build/temp.macosx-10.9-x86_64-3.7/blender -B/private/var/folders/h6/m7p6_f554w127r9zlmw_jh4m0000gn/T/pip-install-1ajkrg89/bpy_c4c35c5da21c4a39ae80827e38bf946f/build/temp.macosx-10.9-x86_64-3.7/build
      -- The C compiler identification is AppleClang 13.1.6.13160021
      -- The CXX compiler identification is AppleClang 13.1.6.13160021
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      2022-08-15 13:16:15.258 xcodebuild[30025:170973] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
      2022-08-15 13:16:15.258 xcodebuild[30025:170973] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
      -- Detected OS X 12.3 and Xcode 13. at /Applications/Xcode.app
      -- OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
      -- Setting deployment target to 10.11, lower versions are not supported
      CMake Warning at CMakeLists.txt:580 (message):
        WITH_OPENAL requires WITH_AUDASPACE which is disabled
      
      
      CMake Warning at CMakeLists.txt:584 (message):
        WITH_JACK requires WITH_AUDASPACE which is disabled
      
      
      -- WITH_DRACO requires WITH_PYTHON_INSTALL to be ON, disabling WITH_DRACO for now
      -- Performing Test SUPPORT_SSE_BUILD
      -- Performing Test SUPPORT_SSE_BUILD - Success
      -- SSE Support: detected.
      -- Performing Test SUPPORT_SSE2_BUILD
      -- Performing Test SUPPORT_SSE2_BUILD - Success
      -- SSE2 Support: detected.
      -- Found Git: /opt/homebrew/bin/git (found version "2.35.1")
      CMake Error at build_files/cmake/platform/platform_apple.cmake:38 (message):
        Mac OSX requires pre-compiled libs at:
        '/private/var/folders/h6/m7p6_f554w127r9zlmw_jh4m0000gn/T/pip-install-1ajkrg89/bpy_c4c35c5da21c4a39ae80827e38bf946f/build/temp.macosx-10.9-x86_64-3.7/blender/../lib/darwin'
      Call Stack (most recent call first):
        CMakeLists.txt:808 (include)
      
      
      -- Configuring incomplete, errors occurred!
      See also "/private/var/folders/h6/m7p6_f554w127r9zlmw_jh4m0000gn/T/pip-install-1ajkrg89/bpy_c4c35c5da21c4a39ae80827e38bf946f/build/temp.macosx-10.9-x86_64-3.7/build/CMakeFiles/CMakeOutput.log".
      See also "/private/var/folders/h6/m7p6_f554w127r9zlmw_jh4m0000gn/T/pip-install-1ajkrg89/bpy_c4c35c5da21c4a39ae80827e38bf946f/build/temp.macosx-10.9-x86_64-3.7/build/CMakeFiles/CMakeError.log".
      error: command '/opt/homebrew/bin/cmake' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for bpy

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

      0