TylerGubala / blenderpy

Blender as a python module with easy-install
GNU General Public License v3.0
314 stars 30 forks source link

MacOS Support #2

Closed TylerGubala closed 4 years ago

TylerGubala commented 6 years ago

Right now MacOS has not even been tested... not even sure if it works.

To Do:

compmonks commented 6 years ago

Hello TylerGubala, I am trying to install your module trhough pip on Mac Os and here is the error log it returns:

(py35) My-MacBook-Pro:~ user$ pip install bpy==1.2.1
Collecting bpy==1.2.1
  Using cached https://files.pythonhosted.org/packages/5d/03/9896a05aac246d3a46b1a49c1eb796a51ecc4e0ae30e9e7c5d52cbc52662/bpy-1.2.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/rx/jrwl4r0954j64xckyxrr7crw0000gn/T/pip-install-0_3jvd1e/bpy/setup.py", line 88
        self.announce(f"Cloning Blender source from {BLENDER_GIT_REPO_URL}...",
                                                                             ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/rx/jrwl4r0954j64xckyxrr7crw0000gn/T/pip-install-0_3jvd1e/bpy/

It is run with python 3.5 and mac os High sierra 10.13.5 Hope it helps

TylerGubala commented 6 years ago

Thanks, that does definately help; and I am sorry because I run a more recent version of Python (3.6.5).

I actually didn't realize f-string interpolation (what I believe the interpriter is complaining about there) was such a recent addition to Python (3.6 era).

If you replace the "f-strings" (strings that look like f"Hello, {user_name}!") with their string.format equivalent, it should stop complaining about invalid syntax for those lines..

I will make the modifications to the code when I am back at my home; currently I am busy with travel work. I'll make some modifications this weekend.

Thanks for your patience.

TylerGubala commented 6 years ago

Just so you are aware, I didn't just forget about your issue, though what you've listed here isn't so much a MacOS support issue as it is a Python version < 3.6 support issue.

https://github.com/TylerGubala/blenderpy/issues/11

I've opened a new issue related to that, because I seem to have stumbled upon a nice little repo that will clean up the fstrings nicely for users who don't want to upgrade to >=3.6, called future-fstrings.

If using that technology doesn't remedy the issue, I'll just use string.format()

In either case I'm going to start supplying bdist_wheels next week after I finish out a work trip, but I'll still need help generating those on the MacOS side of things. Keep you posted!

TylerGubala commented 6 years ago

Provided you install future-fstrings as a developer dependancy, you should not recieve the syntax error once I merge the fix fstrings branch.

TylerGubala commented 6 years ago

I just merged the Fix fstrings branch, feel free to test out the new version when you have the time, provided you have installed the latest version of future-fstrings

loukotal commented 6 years ago

Hi Tyler! I am currently trying to install your library on MacOS (High Sierra version 10.13.5).

Firstly, I had to install future-fstrings even though I am running python 3.6.6. Next, when running pip install bpy I get these errors:

screen shot 2018-09-19 at 13 31 47 screen shot 2018-09-19 at 13 32 21

Any advice or pointers on how to proceed would be helpful.

Thank you!

TylerGubala commented 6 years ago

@loukotal Looks like I need to add a line to checkout the MacOS svn repo. I'll have to add that to the list of requirements for Mac users, but unfortunately, being that I don't have a Mac, and since Travis doesn't officially support MacOS with Python, it's a little difficult for me to pin down the build process there.

Could you download svn (not sure if that comes with "X Code development tools" or not), enter a terminal and cd /Users/lukasloukota/.blenderpy/blender then make update?

Please note this is an exerpt from the official "Building Blender - MacOS" wiki page from the Blender foundation:

https://wiki.blender.org/wiki/Building_Blender/Mac

Regarding the need to install future-fstrings despite being on Python 3.6... yes I suppose that makes sense! It is looking for future-fstrings for the encoding codec. Since I have not been able to get the builds for Mac (I don't have a mac to build on, and have lots more research to do on travis before feeling comfortable with it), you had to perform the installation with the Python build script sources. Were there a bdist_wheel available for Mac from pypi you wouldn't have needed the future-fstrings installation. I'll try to make this cleaner when I have the time, and thank you for your patience!

loukotal commented 6 years ago

Sorry for the late reply. Thank you for your answer.

I am now again trying to pin down the problem. I ran make update as per your advice. I tried running pip install bpy after it and now I'm getting this error.

screen shot 2018-09-24 at 11 33 15

So I setup a virtualenv with python3.7 - using pyenv - to try to resolve the error Python executable missing: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m and that didn't help either.

I tried to access /private/var/folders/c4/q75b9qkx7_51f49jzsc92d480000gn/T/pip-install-vhepdop2/bpy/build/temp.macosx-10.13-x86_64-3.7/CMakeFiles/CMakeOutput.log but there is no such file (or pip-install-vhepdop2 folder).

I can provide more information if needed. Thank you!

PS: Sorry for taking up your time, this is still very new to me.

TylerGubala commented 6 years ago

Did you install Python 3.7 to your computer with Homebrew?

Looks like the Homebrew installation path is what it is looking for. It needs this because you are building from sources, and Blender has to link to Python. I think make update may not have installed the correct Python in your case.

On Mon, Sep 24, 2018, 5:47 AM Lukáš Loukota notifications@github.com wrote:

Sorry for the late reply. Thank you for your answer.

I am now again trying to pin down the problem. I ran make update as per your advice. I tried running pip install bpy after it and now I'm getting this error. [image: screen shot 2018-09-24 at 11 33 15] https://user-images.githubusercontent.com/18210858/45945494-fa29d500-bfed-11e8-8c75-49bbe3cfe56f.png

So I setup a virtualenv with python3.7 - using pyenv - as per the error Python executable missing: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m and that didn't help either.

I tried to access /private/var/folders/c4/q75b9qkx7_51f49jzsc92d480000gn/T/pip-install-vhepdop2/bpy/build/temp.macosx-10.13-x86_64-3.7/CMakeFiles/CMakeOutput.log but there is no such file (or pip-install-vhepdop2 folder).

I can provide more information if needed. Thank you!

PS: Sorry for taking up your time, this is still very new to me.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TylerGubala/blenderpy/issues/2#issuecomment-423923694, or mute the thread https://github.com/notifications/unsubscribe-auth/AVZMRxjP2hn4-T1oeUvouHVqvGcp_MFvks5ueKpLgaJpZM4TrmoI .

gandarez commented 5 years ago

Having the same issue when trying to install bpy using pip for macOS Mojave.

TylerGubala commented 5 years ago

@gandarez Is there a gist or something that you can post? I bought a used Mac at Christmas just to test compatibility but it's bricked or something. I would like to just do the steps listed here and integrate that into my code but like above, the Mac I got doesn't work and I'm too unfamiliar to waste days and days playing with Travis CI to try and guess how it should work.

Can anyone help in this regard?

gandarez commented 5 years ago

@TylerGubala that's the error when executing pip install bpy in my Mac.

Screen Shot 2019-08-22 at 21 52 05
TylerGubala commented 5 years ago

@gandarez Sorry, but Python 2.7 is not supported at this time. Maybe you can try Python 3.6 and see how that works for you?

gandarez commented 5 years ago

My fault sorry. Should I install future_fstrings?

Screen Shot 2019-08-22 at 22 04 41
TylerGubala commented 5 years ago

Yes, you have to install Python version 3.6 and future-fstrings in order to start looking into this deeper.

3.7 may be workable once we figure out what the errors are in the build but 3.6 would be a better place to start since I have Windows builds for 3.6 working to compare.

Thanks much in advance!

gandarez commented 5 years ago

After installing future-fstrings and python 3.6.5 it got stucked at building wheel

Screen Shot 2019-08-24 at 12 11 05

Is there any way of getting the log of the process?

gandarez commented 5 years ago

After a while got this error:

ERROR: Command errored out with exit status 1:
   command: /usr/local/opt/python/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-855rkhbu/bpy/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-855rkhbu/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-wheel-cfhj34pb --python-tag cp36
       cwd: /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-855rkhbu/bpy/
  Complete output (10 lines):
  running bdist_wheel
  running build
  running build_ext
  Preparing the build environment
  Cloning Blender source from git://git.blender.org/blender.git
  Updating Blender git submodules
  Configuring cmake project
  cmake -H/Users/gandarez/.blenderpy/blender -Bbuild/temp.macosx-10.13-x86_64-3.6 -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON
  unable to execute 'cmake': No such file or directory
  error: command 'cmake' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for bpy
  Running setup.py clean for bpy
Failed to build bpy
Installing collected packages: bpy
  Running setup.py install for bpy ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-855rkhbu/bpy/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-855rkhbu/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-record-6jvo_9h7/install-record.txt --single-version-externally-managed --compile
         cwd: /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-855rkhbu/bpy/
    Complete output (10 lines):
    running install
    running build
    running build_ext
    Preparing the build environment
    Cloning Blender source from git://git.blender.org/blender.git
    Updating Blender git submodules
    Configuring cmake project
    cmake -H/Users/gandarez/.blenderpy/blender -Bbuild/temp.macosx-10.13-x86_64-3.6 -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON
    unable to execute 'cmake': No such file or directory
    error: command 'cmake' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-855rkhbu/bpy/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-855rkhbu/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-record-6jvo_9h7/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
gandarez commented 5 years ago

After have installed cmakevia brew got this error:

ERROR: Command errored out with exit status 1:
   command: /usr/local/opt/python/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-wheel-zkk_o5jf --python-tag cp36
       cwd: /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/
  Complete output (44 lines):
  running bdist_wheel
  running build
  running build_ext
  Preparing the build environment
  Cloning Blender source from git://git.blender.org/blender.git
  Updating Blender git submodules
  Configuring cmake project
  cmake -H/Users/gandarez/.blenderpy/blender -Bbuild/temp.macosx-10.13-x86_64-3.6 -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON
  -- The C compiler identification is AppleClang 10.0.1.10010046
  -- The CXX compiler identification is AppleClang 10.0.1.10010046
  -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
  -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  2019-08-24 12:22:33.489 xcodebuild[96288:3669940] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' not present in DVTPlugInCompatibilityUUIDs
  2019-08-24 12:22:33.489 xcodebuild[96288:3669940] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
  -- Detected OS X 10.14 and Xcode 10. at /Applications/Xcode.app
  -- OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
  -- 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: /usr/bin/git (found version "2.20.1 (Apple Git-117)")
  CMake Error at build_files/cmake/platform/platform_apple.cmake:38 (message):
    Mac OSX requires pre-compiled libs at:
    '/Users/gandarez/.blenderpy/blender/../lib/darwin'
  Call Stack (most recent call first):
    CMakeLists.txt:906 (include)

  -- Configuring incomplete, errors occurred!
  See also "/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/build/temp.macosx-10.13-x86_64-3.6/CMakeFiles/CMakeOutput.log".
  error: command 'cmake' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for bpy
  Running setup.py clean for bpy
Failed to build bpy
Installing collected packages: bpy
  Running setup.py install for bpy ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-record-3qxx4j0e/install-record.txt --single-version-externally-managed --compile
         cwd: /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/
    Complete output (44 lines):
    running install
    running build
    running build_ext
    Preparing the build environment
    Cloning Blender source from git://git.blender.org/blender.git
    Updating Blender git submodules
    Configuring cmake project
    cmake -H/Users/gandarez/.blenderpy/blender -Bbuild/temp.macosx-10.13-x86_64-3.6 -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON
    -- The C compiler identification is AppleClang 10.0.1.10010046
    -- The CXX compiler identification is AppleClang 10.0.1.10010046
    -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
    -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
    -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    2019-08-24 12:22:41.016 xcodebuild[96579:3670683] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' not present in DVTPlugInCompatibilityUUIDs
    2019-08-24 12:22:41.016 xcodebuild[96579:3670683] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
    -- Detected OS X 10.14 and Xcode 10. at /Applications/Xcode.app
    -- OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
    -- 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: /usr/bin/git (found version "2.20.1 (Apple Git-117)")
    CMake Error at build_files/cmake/platform/platform_apple.cmake:38 (message):
      Mac OSX requires pre-compiled libs at:
      '/Users/gandarez/.blenderpy/blender/../lib/darwin'
    Call Stack (most recent call first):
      CMakeLists.txt:906 (include)

    -- Configuring incomplete, errors occurred!
    See also "/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/build/temp.macosx-10.13-x86_64-3.6/CMakeFiles/CMakeOutput.log".
    error: command 'cmake' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-54dz105s/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-record-3qxx4j0e/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
gandarez commented 5 years ago

I had to run make update at /Users/gandarez/.blenderpy/blender and after I got this error:

ERROR: Command errored out with exit status 1:
   command: /usr/local/opt/python/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-wheel-jj1ro_wr --python-tag cp36
       cwd: /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/
  Complete output (45 lines):
  running bdist_wheel
  running build
  running build_ext
  Preparing the build environment
  Cloning Blender source from git://git.blender.org/blender.git
  Updating Blender git submodules
  Configuring cmake project
  cmake -H/Users/gandarez/.blenderpy/blender -Bbuild/temp.macosx-10.13-x86_64-3.6 -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON
  -- The C compiler identification is AppleClang 10.0.1.10010046
  -- The CXX compiler identification is AppleClang 10.0.1.10010046
  -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
  -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  2019-08-25 18:50:08.670 xcodebuild[99406:3712024] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' not present in DVTPlugInCompatibilityUUIDs
  2019-08-25 18:50:08.672 xcodebuild[99406:3712024] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
  -- Detected OS X 10.14 and Xcode 10. at /Applications/Xcode.app
  -- OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
  -- 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: /usr/bin/git (found version "2.20.1 (Apple Git-117)")
  -- Found OpenAL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenAL.framework
  CMake Error at build_files/cmake/platform/platform_apple.cmake:117 (message):
    Python executable missing:
    /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m
  Call Stack (most recent call first):
    CMakeLists.txt:906 (include)

  -- Configuring incomplete, errors occurred!
  See also "/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/build/temp.macosx-10.13-x86_64-3.6/CMakeFiles/CMakeOutput.log".
  error: command 'cmake' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for bpy
  Running setup.py clean for bpy
Failed to build bpy
Installing collected packages: bpy
  Running setup.py install for bpy ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-record-6bpjmd0d/install-record.txt --single-version-externally-managed --compile
         cwd: /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/
    Complete output (45 lines):
    running install
    running build
    running build_ext
    Preparing the build environment
    Cloning Blender source from git://git.blender.org/blender.git
    Updating Blender git submodules
    Configuring cmake project
    cmake -H/Users/gandarez/.blenderpy/blender -Bbuild/temp.macosx-10.13-x86_64-3.6 -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON
    -- The C compiler identification is AppleClang 10.0.1.10010046
    -- The CXX compiler identification is AppleClang 10.0.1.10010046
    -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
    -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
    -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    2019-08-25 18:50:16.384 xcodebuild[99682:3712807] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' not present in DVTPlugInCompatibilityUUIDs
    2019-08-25 18:50:16.384 xcodebuild[99682:3712807] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
    -- Detected OS X 10.14 and Xcode 10. at /Applications/Xcode.app
    -- OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
    -- 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: /usr/bin/git (found version "2.20.1 (Apple Git-117)")
    -- Found OpenAL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenAL.framework
    CMake Error at build_files/cmake/platform/platform_apple.cmake:117 (message):
      Python executable missing:
      /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m
    Call Stack (most recent call first):
      CMakeLists.txt:906 (include)

    -- Configuring incomplete, errors occurred!
    See also "/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/build/temp.macosx-10.13-x86_64-3.6/CMakeFiles/CMakeOutput.log".
    error: command 'cmake' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-tcseb2yd/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-record-6bpjmd0d/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
TylerGubala commented 5 years ago

Your Python executable cannot be found.

Python executable missing: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m

Do you have Python installed correctly on Mac? Unfortunately I have no knowledge of how to do this.

gandarez commented 5 years ago

Yes I have and that folder is for shipped Mac products. I'm trying to figure out how to install python 3.6/3.7 in that folder. Python 2.7/3.x is installed via homebrew already.

Screen Shot 2019-08-25 at 19 07 01
gandarez commented 5 years ago

I changed to use pip3 and start getting this error:

Collecting bpy
  Using cached https://files.pythonhosted.org/packages/18/40/f8166da0a9c7f33bd0a942e9b86e83bd9ab07d85aabff6ffb7e0b939c3cf/bpy-1.2.3.tar.gz
Installing collected packages: bpy
  Running setup.py install for bpy ... error
    Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-dhz2i1dz/bpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-record-03q8k3fo/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    Preparing the build environment
    Cloning Blender source from git://git.blender.org/blender.git
    Updating Blender git submodules
    Configuring cmake project
    cmake -H/Users/gandarez/.blenderpy/blender -Bbuild/temp.macosx-10.9-x86_64-3.7 -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON
    -- The C compiler identification is AppleClang 10.0.1.10010046
    -- The CXX compiler identification is AppleClang 10.0.1.10010046
    -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
    -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
    -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    2019-08-25 19:19:07.882 xcodebuild[4926:3739740] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' not present in DVTPlugInCompatibilityUUIDs
    2019-08-25 19:19:07.883 xcodebuild[4926:3739740] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
    -- Detected OS X 10.14 and Xcode 10. 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
    -- 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: /usr/bin/git (found version "2.20.1 (Apple Git-117)")
    -- Found OpenAL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenAL.framework
    -- Using /Users/gandarez/.blenderpy/blender/../lib/darwin/openmp for OpenMP
    -- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework
    -- Performing Test C_WARN_ALL
    -- Performing Test C_WARN_ALL - Success
    -- Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION
    -- Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION - Success
    -- Performing Test C_WARN_ERROR_RETURN_TYPE
    -- Performing Test C_WARN_ERROR_RETURN_TYPE - Success
    -- Performing Test C_WARN_NO_AUTOLOGICAL_COMPARE
    -- Performing Test C_WARN_NO_AUTOLOGICAL_COMPARE - Success
    -- Performing Test C_WARN_NO_UNKNOWN_PRAGMAS
    -- Performing Test C_WARN_NO_UNKNOWN_PRAGMAS - Success
    -- Performing Test C_WARN_NO_CHAR_SUBSCRIPTS
    -- Performing Test C_WARN_NO_CHAR_SUBSCRIPTS - Success
    -- Performing Test C_WARN_STRICT_PROTOTYPES
    -- Performing Test C_WARN_STRICT_PROTOTYPES - Success
    -- Performing Test C_WARN_MISSING_PROTOTYPES
    -- Performing Test C_WARN_MISSING_PROTOTYPES - Success
    -- Performing Test C_WARN_UNUSED_PARAMETER
    -- Performing Test C_WARN_UNUSED_PARAMETER - Success
    -- Performing Test CXX_WARN_ALL
    -- Performing Test CXX_WARN_ALL - Success
    -- Performing Test CXX_WARN_NO_AUTOLOGICAL_COMPARE
    -- Performing Test CXX_WARN_NO_AUTOLOGICAL_COMPARE - Success
    -- Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS
    -- Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS - Success
    -- Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS
    -- Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS - Success
    -- Performing Test CXX_WARN_NO_OVERLOADED_VIRTUAL
    -- Performing Test CXX_WARN_NO_OVERLOADED_VIRTUAL - Success
    -- Performing Test CXX_WARN_NO_SIGN_COMPARE
    -- Performing Test CXX_WARN_NO_SIGN_COMPARE - Success
    -- Performing Test CXX_WARN_NO_INVALID_OFFSETOF
    -- Performing Test CXX_WARN_NO_INVALID_OFFSETOF - Success
    -- Performing Test C_WARN_NO_UNUSED_PARAMETER
    -- Performing Test C_WARN_NO_UNUSED_PARAMETER - Success
    -- Performing Test C_WARN_NO_UNUSED_MACROS
    -- Performing Test C_WARN_NO_UNUSED_MACROS - Success
    -- Performing Test C_WARN_NO_MISSING_VARIABLE_DECLARATIONS
    -- Performing Test C_WARN_NO_MISSING_VARIABLE_DECLARATIONS - Success
    -- Performing Test C_WARN_NO_INCOMPAT_PTR_DISCARD_QUAL
    -- Performing Test C_WARN_NO_INCOMPAT_PTR_DISCARD_QUAL - Success
    -- Performing Test C_WARN_NO_UNUSED_FUNCTION
    -- Performing Test C_WARN_NO_UNUSED_FUNCTION - Success
    -- Performing Test C_WARN_NO_INT_TO_VOID_POINTER_CAST
    -- Performing Test C_WARN_NO_INT_TO_VOID_POINTER_CAST - Success
    -- Performing Test C_WARN_NO_MISSING_PROTOTYPES
    -- Performing Test C_WARN_NO_MISSING_PROTOTYPES - Success
    -- Performing Test C_WARN_NO_DUPLICATE_ENUM
    -- Performing Test C_WARN_NO_DUPLICATE_ENUM - Success
    -- Performing Test C_WARN_NO_UNDEF
    -- Performing Test C_WARN_NO_UNDEF - Success
    -- Performing Test C_WARN_NO_MISSING_NORETURN
    -- Performing Test C_WARN_NO_MISSING_NORETURN - Success
    -- Performing Test CXX_WARN_NO_UNUSED_PRIVATE_FIELD
    -- Performing Test CXX_WARN_NO_UNUSED_PRIVATE_FIELD - Success
    -- Performing Test CXX_WARN_NO_CXX11_NARROWING
    -- Performing Test CXX_WARN_NO_CXX11_NARROWING - Success
    -- Performing Test CXX_WARN_NO_NON_VIRTUAL_DTOR
    -- Performing Test CXX_WARN_NO_NON_VIRTUAL_DTOR - Success
    -- Performing Test CXX_WARN_NO_UNUSED_MACROS
    -- Performing Test CXX_WARN_NO_UNUSED_MACROS - Success
    -- Performing Test CXX_WARN_NO_REORDER
    -- Performing Test CXX_WARN_NO_REORDER - Success
    -- Performing Test CXX_WARN_NO_COMMENT
    -- Performing Test CXX_WARN_NO_COMMENT - Success
    -- Performing Test CXX_WARN_NO_UNUSED_TYPEDEFS
    -- Performing Test CXX_WARN_NO_UNUSED_TYPEDEFS - Success
    -- Performing Test CXX_HAS_SSE
    -- Performing Test CXX_HAS_SSE - Success
    -- Performing Test CXX_HAS_AVX
    -- Performing Test CXX_HAS_AVX - Success
    -- Performing Test CXX_HAS_AVX2
    -- Performing Test CXX_HAS_AVX2 - Success
    ERROR: File Not Found. (-43)  on file: /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-dhz2i1dz/bpy/build/temp.macosx-10.9-x86_64-3.7/bin/Blender.app
    -- Disabling render tests because tests folder does not exist at /Users/gandarez/.blenderpy/blender/../lib/tests
    -- C Compiler:   "AppleClang"
    -- C++ Compiler: "AppleClang"

    Blender Configuration
    =====================

      Build Options:
      - WITH_BULLET                 ON
      - WITH_IK_SOLVER              ON
      - WITH_IK_ITASC               ON
      - WITH_OPENCOLLADA            ON
      - WITH_FFTW3                  ON
      - WITH_INTERNATIONAL          ON
      - WITH_INPUT_NDOF             ON
      - WITH_CYCLES                 ON
      - WITH_FREESTYLE              ON
      - WITH_OPENCOLORIO            ON
      - WITH_OPENIMAGEDENOISE       OFF
      - WITH_OPENVDB                OFF
      - WITH_ALEMBIC                OFF

      Compiler Options:
      - WITH_BUILDINFO              ON
      - WITH_OPENMP                 ON
      - WITH_RAYOPTIMIZATION        ON

      System Options:
      - WITH_INSTALL_PORTABLE
      - WITH_X11_ALPHA              OFF
      - WITH_X11_XF86VMODE          OFF
      - WITH_X11_XFIXES             OFF
      - WITH_X11_XINPUT             OFF
      - WITH_MEM_JEMALLOC           ON
      - WITH_MEM_VALGRIND           OFF
      - WITH_SYSTEM_GLEW            OFF

      Image Formats:
      - WITH_OPENIMAGEIO            ON
      - WITH_IMAGE_CINEON           ON
      - WITH_IMAGE_DDS              ON
      - WITH_IMAGE_HDR              ON
      - WITH_IMAGE_OPENEXR          ON
      - WITH_IMAGE_OPENJPEG         ON
      - WITH_IMAGE_TIFF             ON

      Audio:
      - WITH_OPENAL                 ON
      - WITH_SDL                    ON
      - WITH_SDL_DYNLOAD
      - WITH_JACK                   OFF
      - WITH_JACK_DYNLOAD
      - WITH_CODEC_AVI              ON
      - WITH_CODEC_FFMPEG           ON
      - WITH_CODEC_SNDFILE          OFF

      Compression:
      - WITH_LZMA                   ON
      - WITH_LZO                    ON

      Python:
      - WITH_PYTHON_INSTALL         OFF
      - WITH_PYTHON_INSTALL_NUMPY
      - WITH_PYTHON_MODULE          ON
      - WITH_PYTHON_SAFETY          OFF
      - WITH_PYTHON_FRAMEWORK       OFF

      Modifiers:
      - WITH_MOD_REMESH             ON
      - WITH_MOD_FLUID              ON
      - WITH_MOD_OCEANSIM           OFF

      OpenGL:
      - WITH_GLEW_ES                OFF
      - WITH_GL_EGL                 OFF
      - WITH_GL_PROFILE_ES20        OFF

    -- Configuring done
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:

        WITH_PLAYER

    -- Build files have been written to: /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-dhz2i1dz/bpy/build/temp.macosx-10.9-x86_64-3.7
    Building binaries
    cmake --build build/temp.macosx-10.9-x86_64-3.7 --target INSTALL --config Release
    make: *** No rule to make target `INSTALL'.  Stop.
    error: command 'cmake' failed with exit status 2

    ----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-dhz2i1dz/bpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-record-03q8k3fo/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/tf/w4gth5n97n3_g2b4q47ttyk80000gn/T/pip-install-dhz2i1dz/bpy/
gandarez commented 5 years ago

I don't know if the error is related to blender itself but I opened a ticket there https://developer.blender.org/T69157

TylerGubala commented 5 years ago

It's not directly related to Blender. It might be because install is a Windows build configuration? I.E, in Visual Studio a distinction is made between "Release" and "Dev" targets? The blenderpy build code is specifying the install configuration which could be tripping the build process up.

gandarez commented 5 years ago

What I really haven't understand yet is how setup.py works. Isn't that simply change the classifiers property to aim Mac?

TylerGubala commented 5 years ago

The classifiers in the call to setup only has to do with what shows up on pypi.org.

On Mon, Aug 26, 2019, 10:18 AM Carlos Henrique Guardão Gandarez < notifications@github.com> wrote:

What I really haven't understand yet is how setup.py works. Isn't that simply change the classifiers property to aim Mac?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TylerGubala/blenderpy/issues/2?email_source=notifications&email_token=AFLEYR3CQXJPXXEJAXNH4BDQGPQZXA5CNFSM4E5ONIEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5EQG7Q#issuecomment-524878718, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLEYRZ2DYXPTNBJ7VWYLZ3QGPQZXANCNFSM4E5ONIEA .

gandarez commented 5 years ago

How can I help you to go further? I really need bpy to run command line from Mac.

TylerGubala commented 5 years ago

A pull request would be nice, if you could at least manually follow the steps on the "building Blender mac" and let me know if it works for you that would be step 1.

Then, I can provide you the modified steps to try building the Blender Python module; that would be step 2. During this, taking notes of where you are running into trouble.

My main build functionality is in the process of being migrated into bpy-make due to maintainability reasons. Once you follow both of those steps and are able to build the python module manually, we can look at codifying that, possibly making a new function in the make module of the bpy-make package.

Here's the link to the manual build steps: https://wiki.blender.org/wiki/Building_Blender/Mac

Once you are able to do the manual build steps I will give you the modified manual build steps for the python module. Then we will talk about the shortcomings and adding it into the auto-build code.

Sorry, I just have not been able to test this at all because I do not have a Mac.

On Mon, Aug 26, 2019, 10:57 AM Carlos Henrique Guardão Gandarez < notifications@github.com> wrote:

How can I help you to go further? I really need bpy to run command line from Mac.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TylerGubala/blenderpy/issues/2?email_source=notifications&email_token=AFLEYRYECMT72XVUU746CRLQGPVNBA5CNFSM4E5ONIEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5EUBRY#issuecomment-524894407, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLEYR4JJ6XWHII6XTNM42DQGPVNBANCNFSM4E5ONIEA .

gandarez commented 5 years ago

Step 1 - Done, 100% built using Mac.

Screen Shot 2019-08-26 at 13 24 58

Step 2 - Waiting the modified steps

TylerGubala commented 5 years ago

Okay, now you are going to have to configure using cmake, with the following additional arguments:

-DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON

Continue with the rest of the build as according to this post

https://blender.stackexchange.com/questions/117200/how-to-build-blender-as-a-python-module?answertab=votes#tab-top

On Mon, Aug 26, 2019, 12:26 PM Carlos Henrique Guardão Gandarez < notifications@github.com> wrote:

Step 1 - Done, 100% built using Mac. [image: Screen Shot 2019-08-26 at 13 24 58] https://user-images.githubusercontent.com/782854/63706151-1721e600-c805-11e9-8257-44c725ce8491.png

Step 2 - Waiting the modified steps

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TylerGubala/blenderpy/issues/2?email_source=notifications&email_token=AFLEYRZEKUJZMQZ2OPYZ5BTQGP73HA5CNFSM4E5ONIEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5E4LAQ#issuecomment-524928386, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLEYR6ONPAH2NIOYGX7JZ3QGP73HANCNFSM4E5ONIEA .

gandarez commented 5 years ago

Following the steps from the post you shared I got few different errors:

  1. Changed variables and ran make

    WITH_PYTHON_INSTALL=OFF
    WITH_PLAYER=OFF
    WITH_PYTHON_MODULE=ON
    Screen Shot 2019-08-26 at 13 45 47
  2. Ran make again

    Screen Shot 2019-08-26 at 14 00 31
  3. Ran for the 3rd time

    Screen Shot 2019-08-26 at 14 02 47
  4. Ran for the 4th time

    Screen Shot 2019-08-26 at 14 03 55
  5. Ran for the 5th time and the error didn't change for the following builds

    Screen Shot 2019-08-26 at 14 04 42
TylerGubala commented 5 years ago

1) Instead of doing make, try

cmake --build

2) what does

cmake --help

Get you?

On Mon, Aug 26, 2019, 1:06 PM Carlos Henrique Guardão Gandarez < notifications@github.com> wrote:

Following the steps from the post you shared I got few different errors:

  1. Changed variables and ran make

WITH_PYTHON_INSTALL=OFF WITH_PLAYER=OFF WITH_PYTHON_MODULE=ON

[image: Screen Shot 2019-08-26 at 13 45 47] https://user-images.githubusercontent.com/782854/63708163-0a53c100-c80a-11e9-901f-684e7bf65c4a.png

  1. Ran make again

[image: Screen Shot 2019-08-26 at 14 00 31] https://user-images.githubusercontent.com/782854/63708207-26eff900-c80a-11e9-86f2-b4aee399fc26.png

  1. Ran for the 3rd time

[image: Screen Shot 2019-08-26 at 14 02 47] https://user-images.githubusercontent.com/782854/63708229-3707d880-c80a-11e9-8815-fc903c3e58f7.png

  1. Ran for the 4th time

[image: Screen Shot 2019-08-26 at 14 03 55] https://user-images.githubusercontent.com/782854/63708295-5e5ea580-c80a-11e9-804f-7dd1a6cc598e.png

  1. Ran for the 5th time and the error didn't change for the following builds

[image: Screen Shot 2019-08-26 at 14 04 42] https://user-images.githubusercontent.com/782854/63708328-7b937400-c80a-11e9-8beb-f11abb301e0c.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TylerGubala/blenderpy/issues/2?email_source=notifications&email_token=AFLEYR2PD6SO7GKWOZFMUO3QGQEQHA5CNFSM4E5ONIEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5E737Q#issuecomment-524942846, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLEYR56EI23W6KT64YHI2LQGQEQHANCNFSM4E5ONIEA .

gandarez commented 5 years ago

I did according to the help and also suggested here: https://stackoverflow.com/a/38889442/833531

rm MakeCache.txt
cd ..
mkdir cmake-make
cd cmake-make
cmake ../blender
Screen Shot 2019-08-26 at 15 40 41

Then I tried installing numpy via pip but with no success.

Screen Shot 2019-08-26 at 15 57 59
TylerGubala commented 5 years ago

Maybe it's a known issue:

https://devtalk.blender.org/t/building-blender-fails-in-gentoo-linux/8664/6

On Mon, Aug 26, 2019, 2:41 PM Carlos Henrique Guardão Gandarez < notifications@github.com> wrote:

I did according to the help and also suggested here: https://stackoverflow.com/a/38889442/833531

rm MakeCache.txt cd .. mkdir cmake-make cd cmake-make cmake ../blender

[image: Screen Shot 2019-08-26 at 15 40 41] https://user-images.githubusercontent.com/782854/63714298-e4351d80-c817-11e9-8303-8e84ebc8ac6a.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TylerGubala/blenderpy/issues/2?email_source=notifications&email_token=AFLEYRZTREPM57APK2TOUG3QGQPUDA5CNFSM4E5ONIEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5FIVJA#issuecomment-524978852, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLEYR5YHA53EVUOQQURPD3QGQPUDANCNFSM4E5ONIEA .

gandarez commented 5 years ago

Even setting the variable PYTHON_NUMPY_PATH I got the same error.

gandarez commented 5 years ago

I installed numpy via pip and copied the entire content from folder .../site-packages/numpy/core/include/numpy to /Users/gandarez/.blenderpy/blender/extern/audaspace/include and built with no success again.

Screen Shot 2019-08-26 at 16 56 17
[100%] Linking CXX shared module ../../bin/Blender.so
ld: warning: directory not found for option '-L/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m'
Undefined symbols for architecture x86_64:
  "___kmpc_barrier", referenced from:
      _.omp_outlined. in libbf_intern_smoke.a(WTURBULENCE.cpp.o)
      _.omp_outlined..3 in libbf_intern_smoke.a(WTURBULENCE.cpp.o)
      _.omp_outlined. in libbf_intern_smoke.a(FLUID_3D.cpp.o)
      _.omp_outlined. in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..53 in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..55 in libbf_intern_elbeem.a(solver_main.cpp.o)
  "___kmpc_critical", referenced from:
      messageOutputFunc(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, unsigned long) in libbf_intern_elbeem.a(utilities.cpp.o)
      _.omp_outlined. in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..53 in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..55 in libbf_intern_elbeem.a(solver_main.cpp.o)
  "___kmpc_dispatch_init_4", referenced from:
      _.omp_outlined. in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined..1 in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined..2 in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined..3 in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined. in libextern_ceres.a(schur_eliminator_d_d_d.cc.o)
      _.omp_outlined..6 in libextern_ceres.a(schur_eliminator_d_d_d.cc.o)
      _.omp_outlined..7 in libextern_ceres.a(schur_eliminator_d_d_d.cc.o)
      ...
  "___kmpc_dispatch_init_8", referenced from:
      _.omp_outlined. in libbf_intern_eigen.a(linear_solver.cc.o)
  "___kmpc_dispatch_next_4", referenced from:
      _.omp_outlined. in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined..1 in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined..2 in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined..3 in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined. in libextern_ceres.a(schur_eliminator_d_d_d.cc.o)
      _.omp_outlined..6 in libextern_ceres.a(schur_eliminator_d_d_d.cc.o)
      _.omp_outlined..7 in libextern_ceres.a(schur_eliminator_d_d_d.cc.o)
      ...
  "___kmpc_dispatch_next_8", referenced from:
      _.omp_outlined. in libbf_intern_eigen.a(linear_solver.cc.o)
  "___kmpc_end_critical", referenced from:
      messageOutputFunc(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, unsigned long) in libbf_intern_elbeem.a(utilities.cpp.o)
      _.omp_outlined. in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..53 in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..55 in libbf_intern_elbeem.a(solver_main.cpp.o)
  "___kmpc_end_reduce_nowait", referenced from:
      _.omp_outlined. in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..53 in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..55 in libbf_intern_elbeem.a(solver_main.cpp.o)
  "___kmpc_end_serialized_parallel", referenced from:
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _BPH_mass_spring_solve_velocities in libbf_physics.a(implicit_blender.c.o)
  "___kmpc_end_single", referenced from:
      _.omp_outlined. in libbf_intern_smoke.a(FLUID_3D.cpp.o)
  "___kmpc_flush", referenced from:
      _.omp_outlined. in libextern_ceres.a(evaluator.cc.o)
      _.omp_outlined..9 in libextern_ceres.a(evaluator.cc.o)
      _.omp_outlined..10 in libextern_ceres.a(evaluator.cc.o)
      _.omp_outlined..11 in libextern_ceres.a(evaluator.cc.o)
  "___kmpc_for_static_fini", referenced from:
      _.omp_outlined. in libbf_blenkernel.a(CCGSubSurf_opensubdiv.c.o)
      _.omp_outlined..3 in libbf_blenkernel.a(CCGSubSurf_opensubdiv.c.o)
      _.omp_outlined..4 in libbf_blenkernel.a(CCGSubSurf_opensubdiv.c.o)
      _.omp_outlined. in libbf_physics.a(implicit_blender.c.o)
      _.omp_outlined. in libbf_intern_smoke.a(WTURBULENCE.cpp.o)
      _.omp_outlined..3 in libbf_intern_smoke.a(WTURBULENCE.cpp.o)
      _.omp_outlined. in libbf_intern_smoke.a(FLUID_3D.cpp.o)
      ...
  "___kmpc_for_static_init_4", referenced from:
      _.omp_outlined. in libbf_blenkernel.a(CCGSubSurf_opensubdiv.c.o)
      _.omp_outlined..3 in libbf_blenkernel.a(CCGSubSurf_opensubdiv.c.o)
      _.omp_outlined..4 in libbf_blenkernel.a(CCGSubSurf_opensubdiv.c.o)
      _.omp_outlined. in libbf_physics.a(implicit_blender.c.o)
      _.omp_outlined. in libbf_intern_smoke.a(WTURBULENCE.cpp.o)
      _.omp_outlined..3 in libbf_intern_smoke.a(WTURBULENCE.cpp.o)
      _.omp_outlined. in libbf_intern_smoke.a(FLUID_3D.cpp.o)
      ...
  "___kmpc_fork_call", referenced from:
      _ccgSubSurf__sync_opensubdiv in libbf_blenkernel.a(CCGSubSurf_opensubdiv.c.o)
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _BPH_mass_spring_solve_velocities in libbf_physics.a(implicit_blender.c.o)
      Eigen::internal::sparse_time_dense_product_impl<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double, 1, true>::run(Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> > const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double const&) in libbf_intern_eigen.a(linear_solver.cc.o)
      ...
  "___kmpc_global_thread_num", referenced from:
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined. in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined..1 in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _.omp_outlined..2 in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      ...
  "___kmpc_push_num_threads", referenced from:
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      Eigen::internal::sparse_time_dense_product_impl<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double, 1, true>::run(Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> > const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double const&) in libbf_intern_eigen.a(linear_solver.cc.o)
      void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WDLSSolver.cpp.o)
      void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WSDLSSolver.cpp.o)
      ...
  "___kmpc_reduce_nowait", referenced from:
      _.omp_outlined. in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..53 in libbf_intern_elbeem.a(solver_main.cpp.o)
      _.omp_outlined..55 in libbf_intern_elbeem.a(solver_main.cpp.o)
  "___kmpc_serialized_parallel", referenced from:
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o)
      _BPH_mass_spring_solve_velocities in libbf_physics.a(implicit_blender.c.o)
  "___kmpc_single", referenced from:
      _.omp_outlined. in libbf_intern_smoke.a(FLUID_3D.cpp.o)
  "_omp_get_max_threads", referenced from:
      Eigen::internal::sparse_time_dense_product_impl<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double, 1, true>::run(Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> > const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double const&) in libbf_intern_eigen.a(linear_solver.cc.o)
      WTURBULENCE::stepTurbulenceFull(float, float*, float*, float*, unsigned char*) in libbf_intern_smoke.a(WTURBULENCE.cpp.o)
      FLUID_3D::step(float, float*) in libbf_intern_smoke.a(FLUID_3D.cpp.o)
      void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WDLSSolver.cpp.o)
      void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WSDLSSolver.cpp.o)
      void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(Scene.cpp.o)
      void Eigen::internal::generic_product_impl<Eigen::Block<Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, -1, false>, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo<Eigen::Matrix<double, 6, 1, 0, 6, 1> >(Eigen::Matrix<double, 6, 1, 0, 6, 1>&, Eigen::Block<Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, -1, false> const&, Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, -1, false> const&, double const&) in libbf_intern_itasc.a(Scene.cpp.o)
      ...
  "_omp_get_num_threads", referenced from:
      void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WDLSSolver.cpp.o)
      _.omp_outlined. in libbf_intern_itasc.a(WDLSSolver.cpp.o)
      Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const*, long, double const*, long, double*, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<long>*) in libbf_intern_itasc.a(WDLSSolver.cpp.o)
      void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WSDLSSolver.cpp.o)
      _.omp_outlined. in libbf_intern_itasc.a(WSDLSSolver.cpp.o)
      Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const*, long, double const*, long, double*, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<long>*) in libbf_intern_itasc.a(WSDLSSolver.cpp.o)
      void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(Scene.cpp.o)
      ...
  "_omp_get_thread_num", referenced from:
      _.omp_outlined. in libbf_intern_smoke.a(WTURBULENCE.cpp.o)
      _.omp_outlined. in libbf_intern_itasc.a(WDLSSolver.cpp.o)
      Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const*, long, double const*, long, double*, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<long>*) in libbf_intern_itasc.a(WDLSSolver.cpp.o)
      _.omp_outlined. in libbf_intern_itasc.a(WSDLSSolver.cpp.o)
      Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const*, long, double const*, long, double*, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<long>*) in libbf_intern_itasc.a(WSDLSSolver.cpp.o)
      _.omp_outlined. in libbf_intern_itasc.a(Scene.cpp.o)
      Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const*, long, double const*, long, double*, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<long>*) in libbf_intern_itasc.a(Scene.cpp.o)
      ...
  "_omp_get_wtime", referenced from:
      ceres::internal::WallTimeInSeconds() in libextern_ceres.a(wall_time.cc.o)
      ceres::internal::EventLogger::EventLogger(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libextern_ceres.a(wall_time.cc.o)
      ceres::internal::EventLogger::EventLogger(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libextern_ceres.a(wall_time.cc.o)
      ceres::internal::EventLogger::~EventLogger() in libextern_ceres.a(wall_time.cc.o)
      ceres::internal::EventLogger::AddEvent(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libextern_ceres.a(wall_time.cc.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/Blender.so] Error 1
make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
make: *** [all] Error 2
TylerGubala commented 5 years ago

This guy seems to have found success, maybe you can try and reproduce his steps exactly.

https://gist.github.com/xunkai55/6331fdd3446257cf5b4a98f202727245#gistcomment-2366377

I mistakenly figured that the build steps would look somewhat similar to Windows.

On Mon, Aug 26, 2019, 3:57 PM Carlos Henrique Guardão Gandarez < notifications@github.com> wrote:

I installed numpy via pip and copied the entire content from folder .../site-packages/numpy/core/include/numpy to /Users/gandarez/.blenderpy/blender/extern/audaspace/include and built with no success again.

[image: Screen Shot 2019-08-26 at 16 56 17] https://user-images.githubusercontent.com/782854/63719096-8fe36b00-c822-11e9-9c7f-23a6224cf1cf.png

[100%] Linking CXX shared module ../../bin/Blender.so ld: warning: directory not found for option '-L/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m' Undefined symbols for architecture x86_64: "_kmpcbarrier", referenced from: .omp_outlined. in libbf_internsmoke.a(WTURBULENCE.cpp.o) .omp_outlined..3 in libbf_internsmoke.a(WTURBULENCE.cpp.o) .omp_outlined. in libbf_intern_smoke.a(FLUID3D.cpp.o) .omp_outlined. in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..53 in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..55 in libbf_intern_elbeem.a(solver_main.cpp.o) "___kmpc_critical", referenced from: messageOutputFunc(std::1::basic_string<char, std::1::char_traits, std::1::allocator >, int, std::1::basic_string<char, std::1::char_traits, std::1::allocator >, unsigned long) in libbf_internelbeem.a(utilities.cpp.o) .omp_outlined. in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..53 in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..55 in libbf_intern_elbeem.a(solvermain.cpp.o) "kmpc_dispatch_init4", referenced from: .omp_outlined. in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined..1 in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined..2 in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined..3 in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined. in libextern_ceres.a(schur_eliminator_d_dd.cc.o) .omp_outlined..6 in libextern_ceres.a(schur_eliminator_d_dd.cc.o) .omp_outlined..7 in libextern_ceres.a(schur_eliminator_d_d_d.cc.o) ... "_kmpc_dispatch_init8", referenced from: .omp_outlined. in libbf_intern_eigen.a(linearsolver.cc.o) "kmpc_dispatch_next4", referenced from: .omp_outlined. in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined..1 in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined..2 in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined..3 in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined. in libextern_ceres.a(schur_eliminator_d_dd.cc.o) .omp_outlined..6 in libextern_ceres.a(schur_eliminator_d_dd.cc.o) .omp_outlined..7 in libextern_ceres.a(schur_eliminator_d_d_d.cc.o) ... "_kmpc_dispatch_next8", referenced from: .omp_outlined. in libbf_intern_eigen.a(linearsolver.cc.o) "kmpc_end_critical", referenced from: messageOutputFunc(std::1::basic_string<char, std::__1::char_traits, std::1::allocator >, int, std::1::basic_string<char, std::__1::char_traits, std::1::allocator >, unsigned long) in libbf_internelbeem.a(utilities.cpp.o) .omp_outlined. in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..53 in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..55 in libbf_intern_elbeem.a(solver_main.cpp.o) "_kmpc_end_reducenowait", referenced from: .omp_outlined. in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..53 in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..55 in libbf_intern_elbeem.a(solvermain.cpp.o) "kmpc_end_serialized_parallel", referenced from: void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(unsigned char const, int, int, int, unsigned char) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(float const, int, int, int, float) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) _BPH_mass_spring_solve_velocities in libbf_physics.a(implicit_blender.c.o) "_kmpc_endsingle", referenced from: .omp_outlined. in libbf_intern_smoke.a(FLUID_3D.cpp.o) "_kmpcflush", referenced from: .omp_outlined. in libexternceres.a(evaluator.cc.o) .omp_outlined..9 in libexternceres.a(evaluator.cc.o) .omp_outlined..10 in libexternceres.a(evaluator.cc.o) .omp_outlined..11 in libexternceres.a(evaluator.cc.o) "kmpc_for_staticfini", referenced from: .omp_outlined. in libbf_blenkernel.a(CCGSubSurfopensubdiv.c.o) .omp_outlined..3 in libbf_blenkernel.a(CCGSubSurfopensubdiv.c.o) .omp_outlined..4 in libbf_blenkernel.a(CCGSubSurfopensubdiv.c.o) .omp_outlined. in libbf_physics.a(implicitblender.c.o) .omp_outlined. in libbf_internsmoke.a(WTURBULENCE.cpp.o) .omp_outlined..3 in libbf_internsmoke.a(WTURBULENCE.cpp.o) .omp_outlined. in libbf_intern_smoke.a(FLUID3D.cpp.o) ... "kmpc_for_static_init4", referenced from: .omp_outlined. in libbf_blenkernel.a(CCGSubSurfopensubdiv.c.o) .omp_outlined..3 in libbf_blenkernel.a(CCGSubSurfopensubdiv.c.o) .omp_outlined..4 in libbf_blenkernel.a(CCGSubSurfopensubdiv.c.o) .omp_outlined. in libbf_physics.a(implicitblender.c.o) .omp_outlined. in libbf_internsmoke.a(WTURBULENCE.cpp.o) .omp_outlined..3 in libbf_internsmoke.a(WTURBULENCE.cpp.o) .omp_outlined. in libbf_intern_smoke.a(FLUID_3D.cpp.o) ... "_kmpc_fork_call", referenced from: _ccgSubSurfsync_opensubdiv in libbf_blenkernel.a(CCGSubSurf_opensubdiv.c.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(unsigned char const, int, int, int, unsigned char) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(float const, int, int, int, float) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) _BPH_mass_spring_solve_velocities in libbf_physics.a(implicit_blender.c.o) Eigen::internal::sparse_time_dense_product_impl<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double, 1, true>::run(Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> > const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double const&) in libbf_intern_eigen.a(linear_solver.cc.o) ... "_kmpc_global_thread_num", referenced from: void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(unsigned char const, int, int, int, unsigned char) in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined. in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined..1 in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(float const, int, int, int, float) in libbf_intern_libmv.a(cameraintrinsics.cc.o) .omp_outlined..2 in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(cameraintrinsics.cc.o) ... "kmpc_push_num_threads", referenced from: void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(unsigned char const, int, int, int, unsigned char) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(float const, int, int, int, float) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) Eigen::internal::sparse_time_dense_product_impl<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double, 1, true>::run(Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> > const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double const&) in libbf_intern_eigen.a(linear_solver.cc.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WDLSSolver.cpp.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WSDLSSolver.cpp.o) ... "_kmpc_reducenowait", referenced from: .omp_outlined. in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..53 in libbf_intern_elbeem.a(solvermain.cpp.o) .omp_outlined..55 in libbf_intern_elbeem.a(solver_main.cpp.o) "_kmpc_serialized_parallel", referenced from: void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(unsigned char const, int, int, int, unsigned char) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply(float const, int, int, int, float) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) _BPH_mass_spring_solve_velocities in libbf_physics.a(implicitblender.c.o) "kmpcsingle", referenced from: .omp_outlined. in libbf_intern_smoke.a(FLUID_3D.cpp.o) "_omp_get_max_threads", referenced from: Eigen::internal::sparse_time_dense_product_impl<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double, 1, true>::run(Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> > const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double const&) in libbf_intern_eigen.a(linear_solver.cc.o) WTURBULENCE::stepTurbulenceFull(float, float, float, float, unsigned char) in libbf_intern_smoke.a(WTURBULENCE.cpp.o) FLUID_3D::step(float, float) in libbf_intern_smoke.a(FLUID_3D.cpp.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WDLSSolver.cpp.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WSDLSSolver.cpp.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(Scene.cpp.o) void Eigen::internal::generic_product_impl<Eigen::Block<Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, -1, false>, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo<Eigen::Matrix<double, 6, 1, 0, 6, 1> >(Eigen::Matrix<double, 6, 1, 0, 6, 1>&, Eigen::Block<Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, -1, false> const&, Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, -1, false> const&, double const&) in libbf_intern_itasc.a(Scene.cpp.o) ... "_omp_get_num_threads", referenced from: void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_internitasc.a(WDLSSolver.cpp.o) .omp_outlined. in libbf_intern_itasc.a(WDLSSolver.cpp.o) Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const, long, double const, long, double, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo) in libbf_intern_itasc.a(WDLSSolver.cpp.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_internitasc.a(WSDLSSolver.cpp.o) .omp_outlined. in libbf_intern_itasc.a(WSDLSSolver.cpp.o) Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const, long, double const, long, double, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo) in libbf_intern_itasc.a(WSDLSSolver.cpp.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(Scene.cpp.o) ... "_omp_get_threadnum", referenced from: .omp_outlined. in libbf_internsmoke.a(WTURBULENCE.cpp.o) .omp_outlined. in libbf_intern_itasc.a(WDLSSolver.cpp.o) Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const, long, double const, long, double, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo) in libbf_internitasc.a(WDLSSolver.cpp.o) .omp_outlined. in libbf_intern_itasc.a(WSDLSSolver.cpp.o) Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const, long, double const, long, double, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo) in libbf_internitasc.a(WSDLSSolver.cpp.o) .omp_outlined. in libbf_intern_itasc.a(Scene.cpp.o) Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const, long, double const, long, double, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo*) in libbf_intern_itasc.a(Scene.cpp.o) ... "_omp_get_wtime", referenced from: ceres::internal::WallTimeInSeconds() in libextern_ceres.a(wall_time.cc.o) ceres::internal::EventLogger::EventLogger(std::__1::basic_string<char, std::1::char_traits, std::1::allocator > const&) in libextern_ceres.a(wall_time.cc.o) ceres::internal::EventLogger::EventLogger(std::1::basic_string<char, std::1::char_traits, std::1::allocator > const&) in libextern_ceres.a(wall_time.cc.o) ceres::internal::EventLogger::~EventLogger() in libextern_ceres.a(wall_time.cc.o) ceres::internal::EventLogger::AddEvent(std::1::basic_string<char, std::1::char_traits, std::__1::allocator > const&) in libextern_ceres.a(wall_time.cc.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [bin/Blender.so] Error 1 make[1]: [source/creator/CMakeFiles/blender.dir/all] Error 2 make: *** [all] Error 2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TylerGubala/blenderpy/issues/2?email_source=notifications&email_token=AFLEYR7UC75DT6O3NNIHP7DQGQYUPA5CNFSM4E5ONIEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5FPWQI#issuecomment-525007681, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLEYRY4K3MWK3BMTYVOZE3QGQYUPANCNFSM4E5ONIEA .

gandarez commented 5 years ago

I followed the instructions from the gist you mentioned but I couldn't overcome the error reported there as directory not found for option...

TylerGubala commented 5 years ago

@gandarez Did you modify the file as described? I'm afraid without a Mac in front of me I am going to have a hard time prescribing what you should do next.

All I can think to encourage you to do is try and follow along these steps again from the beginning but do make bpy instead of make, as maybe your configuration is bad now. You'll have to do some more in-depth digging and maybe just filing an issue over at the Blender Dev talk for them to get the Building Blender as a Python Module documented.

gandarez commented 5 years ago

I followed all the steps from gist. Cloned a new repo and ran make bpy. I also commented there and hopefully someone will answer me.

TylerGubala commented 5 years ago

Hi again. I did not forget about this issue. I have restored the Mac I purchased and updated it to Catalina.

Attempted build and got the attached output. So I'm still looking at it, but haven't made any breakthroughs. Just got to attempt building and learning a lot about MacOS. Blender Python Module Build Failure.txt

TylerGubala commented 5 years ago

I'm trying to investigate this currently, not making much headway though. The build process outlined in the wiki isn't working for me. Hopefully I get some response.

Link

gandarez commented 5 years ago

@TylerGubala for me it breaks at installing dependencies

 ~/.blenderpy/blenderpy/blender | @8ef39d5c#v2.79  ./build_files/build_environment/install_deps.sh                                                                                               2 ↵ | 0.13s
./build_files/build_environment/install_deps.sh: line 60: nproc: command not found
WARNING! ****WARNING****
If you are experiencing issues building Blender, _*TRY A FRESH, CLEAN BUILD FIRST*_!
The same goes for install_deps itself, if you encounter issues, please first erase everything in /Users/gandarez/src/blender-deps and /opt/lib
(provided obviously you did not add anything yourself in those dirs!), and run install_deps.sh again!
Often, changes in the libs built by this script, or in your distro package, cannot be handled simply, so...

You may also try to use the '--build-foo' options to bypass your distribution's packages
for some troublesome/buggy libraries...

Ran with:
    install_deps.sh

sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]

Installing dependencies for RPM-based distribution

Source code of dependencies needed to be compiled will be downloaded and extracted into '/Users/gandarez/src/blender-deps'.
Built libs of dependencies needed to be compiled will be installed into '/opt/lib'.
Please edit $SRC and/or $INST variables at the beginning of this script,
or use --source/--install options, if you want to use other paths!

Number of threads for building:  (automatically detected, use --threads=<nbr> to override it).
Full install: false (use --with-all option to enable it).
Building OpenCOLLADA: false (use --with-opencollada option to enable it).

Example:
Full install without OpenCOLLADA: --with-all --skip-opencollada

Use --help to show all available options!

Do you want to continue (Y/n)?y

./build_files/build_environment/install_deps.sh: line 3055: [: -ge: unary operator expected

Own Python-3.5.3 is up to date, nothing to do!
If you want to force rebuild of this lib, use the --force-python option.

Own Numpy-1.10.1 is up to date, nothing to do!
If you want to force rebuild of this lib, use the --force-numpy option.

readlink: illegal option -- f
usage: readlink [-n] [file ...]
Building Boost-1.60.0
Ensuring /opt/lib exists and is writable by us
Downloading Boost-1.60.0
Warning: Failed to set locale category LC_NUMERIC to en_BR.
Warning: Failed to set locale category LC_TIME to en_BR.
Warning: Failed to set locale category LC_COLLATE to en_BR.
Warning: Failed to set locale category LC_MONETARY to en_BR.
Warning: Failed to set locale category LC_MESSAGES to en_BR.
URL transformed to HTTPS due to an HSTS policy
--2019-10-21 07:52:44--  https://sourceforge.net/projects/boost/files/boost/1.60.0/boost_.tar.bz2/download
Resolving sourceforge.net (sourceforge.net)... 216.105.38.13
Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-10-21 07:52:45 ERROR 404: Not Found.

ERROR! wget could not find http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_.tar.bz2/download, or could not write it to /Users/gandarez/src/blender-deps/boost-1.60.0.tar.bz2, exiting
 ~/.blenderpy/blenderpy/blender | @8ef39d5c#v2.79 
TylerGubala commented 5 years ago

Last night I recieved some communication from the Blender developers that it should be fixed on master and 2.81

They sent that pretty late at night for me, so I have yet to try it. I was hoping to try it tonight when I get home from work, but maybe you could give the master branch a shot.

On Mon, Oct 21, 2019, 8:03 AM Carlos Henrique Guardão Gandarez < notifications@github.com> wrote:

@TylerGubala https://github.com/TylerGubala for me it breaks at installing dependencies

~/.blenderpy/blenderpy/blender | @8ef39d5c#v2.79  ./build_files/build_environment/install_deps.sh  2 ↵ | 0.13s

./build_files/build_environment/install_deps.sh: line 60: nproc: command not found

WARNING! WARNING

If you are experiencing issues building Blender, TRY A FRESH, CLEAN BUILD FIRST!

The same goes for install_deps itself, if you encounter issues, please first erase everything in /Users/gandarez/src/blender-deps and /opt/lib

(provided obviously you did not add anything yourself in those dirs!), and run install_deps.sh again!

Often, changes in the libs built by this script, or in your distro package, cannot be handled simply, so...

You may also try to use the '--build-foo' options to bypass your distribution's packages

for some troublesome/buggy libraries...

Ran with:

install_deps.sh

sed: illegal option -- r

usage: sed script [-Ealn] [-i extension] [file ...]

   sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]

Installing dependencies for RPM-based distribution

Source code of dependencies needed to be compiled will be downloaded and extracted into '/Users/gandarez/src/blender-deps'.

Built libs of dependencies needed to be compiled will be installed into '/opt/lib'.

Please edit $SRC and/or $INST variables at the beginning of this script,

or use --source/--install options, if you want to use other paths!

Number of threads for building: (automatically detected, use --threads= to override it).

Full install: false (use --with-all option to enable it).

Building OpenCOLLADA: false (use --with-opencollada option to enable it).

Example:

Full install without OpenCOLLADA: --with-all --skip-opencollada

Use --help to show all available options!

Do you want to continue (Y/n)?y

./build_files/build_environment/install_deps.sh: line 3055: [: -ge: unary operator expected

Own Python-3.5.3 is up to date, nothing to do!

If you want to force rebuild of this lib, use the --force-python option.

Own Numpy-1.10.1 is up to date, nothing to do!

If you want to force rebuild of this lib, use the --force-numpy option.

readlink: illegal option -- f

usage: readlink [-n] [file ...]

Building Boost-1.60.0

Ensuring /opt/lib exists and is writable by us

Downloading Boost-1.60.0

Warning: Failed to set locale category LC_NUMERIC to en_BR.

Warning: Failed to set locale category LC_TIME to en_BR.

Warning: Failed to set locale category LC_COLLATE to en_BR.

Warning: Failed to set locale category LC_MONETARY to en_BR.

Warning: Failed to set locale category LC_MESSAGES to en_BR.

URL transformed to HTTPS due to an HSTS policy

--2019-10-21 07:52:44-- https://sourceforge.net/projects/boost/files/boost/1.60.0/boost_.tar.bz2/download

Resolving sourceforge.net (sourceforge.net)... 216.105.38.13

Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected.

HTTP request sent, awaiting response... 404 Not Found

2019-10-21 07:52:45 ERROR 404: Not Found.

ERROR! wget could not find http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_.tar.bz2/download, or could not write it to /Users/gandarez/src/blender-deps/boost-1.60.0.tar.bz2, exiting

~/.blenderpy/blenderpy/blender | @8ef39d5c#v2.79 

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TylerGubala/blenderpy/issues/2?email_source=notifications&email_token=AFLEYR45MLGNMOLOQKM2LIDQPWLB5A5CNFSM4E5ONIEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB2CPAQ#issuecomment-544483202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFLEYRYTCB5WHG7SUMBRGTLQPWLB5ANCNFSM4E5ONIEA .

TylerGubala commented 5 years ago

Just tried building Python from the master branch as suggested in the DevTalk forum posting, got the attached error. Blender_Python_Module_Build_Error.txt

TylerGubala commented 5 years ago

The attached follows the build process more closely and ran into a numpy error.

Blender_Python_Module_v2-81_release_build_error.txt

TylerGubala commented 5 years ago

Here is an updated manual build script. If you want to test it out @gandarez you are more than welcome to.

NOTES

export PATH="/Applications/CMake.app/Contents/bin":"$PATH"
echo PATH="/Applications/CMake.app/Contents/bin":"\$PATH" >> ~/.profile
echo PATH="/Applications/CMake.app/Contents/bin":"\$PATH" >> ~/.bash_profile
mkdir .blenderpy
cd .blenderpy
mkdir master
cd master
git clone http://git.blender.org/blender.git
cd blender
make update
cd ..
mkdir build_bpy_darwin_custom
cd build_bpy_darwin_custom
cmake ../blender -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON -DWITH_OPENMP=OFF -DWITH_AUDASPACE=OFF
make install
gandarez commented 5 years ago

It seems to be working now.

Screen Shot 2019-10-23 at 07 26 10

next steps?

TylerGubala commented 5 years ago

Presumably to copy the bpy.so module and the 2.82 directory into either your system Python site-packages or (optionally) a venv Python's site-packages following the steps listed here (roughly).

https://wiki.blender.org/wiki/Building_Blender/Other/BlenderAsPyModule

Scroll down to OSX and you will see the copy instructions

gandarez commented 5 years ago

Followed instructions and tried to run tests from that website with no success.

/Library/Frameworks/Python.framework/Versions/3.7/bin  python3.7 -c "import bpy; 
bpy.ops.render.render(write_still=True)"                                                                    ABRT ↵ | 1.24s
Color management: using fallback mode for management
Color management: Error could not find role data role.
BLT_lang_init: 'locale' data path for translations not found, continuing
Color management: scene view "Filmic" not found, setting default "Standard".
bpy: couldn't find 'scripts/modules', blender probably wont start.
Freestyle: couldn't find 'scripts/freestyle/modules', Freestyle won't work properly.
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): /Users/gandarez/.blenderpy/master/blender/source/blender/python/intern/bpy_rna.c:7086 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): /Users/gandarez/.blenderpy/master/blender/source/blender/python/intern/bpy_rna.c:7086 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): /Users/gandarez/.blenderpy/master/blender/source/blender/python/intern/bpy_rna.c:7086 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): /Users/gandarez/.blenderpy/master/blender/source/blender/python/intern/bpy_rna.c:7086 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): /Users/gandarez/.blenderpy/master/blender/source/blender/python/intern/bpy_rna.c:7086 pyrna_srna_ExternalType: failed to find 'bpy_types' module
F1024 21:04:02.306222 208457024 utilities.cc:322] Check failed: !IsGoogleLoggingInitialized() You called InitGoogleLogging() twice!
*** Check failure stack trace: ***
    @        0x111b366ff
    @        0x111b32e59
    @        0x111b3a28c
    @        0x11096455e
    @        0x10c84f44d
    @        0x10cb9ae47
    @        0x10baa8cac
    @        0x10baac896
    @        0x10bb64a00
    @        0x10bb60313
    @        0x10bb5fb19
    @        0x10ba80bc8
    @        0x10ba808a1
    @        0x10bb3cd1f
    @        0x10bb40413
    @        0x10ba805a1
    @        0x10bb3f8c2
    @        0x10bb3c88d
    @        0x10ba80a10
    @        0x10bb3f8c2
    @        0x10bb3c873
    @        0x10ba80a10
    @        0x10bb3f8c2
    @        0x10bb3c92e
    @        0x10ba80a10
    @        0x10bb3f8c2
    @        0x10bb3c92e
    @        0x10ba80a10
    @        0x10bb3f8c2
    @        0x10bb3c92e
    @        0x10ba80a10
    @        0x10ba80004
[1]    29582 abort      python3.7 -c "import bpy; bpy.ops.render.render(write_still=True)"