前提・実現したいこと
ブレンダーをpythonモジュール(make bpy)としてビルドできるようにしたい
pythonを実行したところ以下のエラーが発生した為、
raceback (most recent call last):
File "Test.py", line 3, in <module>
import bpy
ImportError: No module named 'bpy'
こちらのサイト様を参考にして、ブレンダーをpythonモジュール(make bpy)としてビルドできるようにしようとしたのですが、
http://mtkazblog.blogspot.com/2016/10/macblenderpython.html
cmake ../blender-2.83.4をした際にエラーが発生します。
ご助言いただけますと幸いです。
よろしくお願いいたします。
発生している問題・エラーメッセージ
-- Detected OS X 10.14 and Xcode 10.0 at /Applications/Xcode.app -- OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform -- Detected OSX_SYSROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -- WITH_DRACO requires WITH_PYTHON_INSTALL to be ON, disabling WITH_DRACO for now CMake Error at build_files/cmake/platform/platform_apple.cmake:124 (message): Python executable missing: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m Call Stack (most recent call first): CMakeLists.txt:816 (include)
/Library/Frameworks/Python.framework/Versions以下を確認したところ 3.5しかなく、これが原因なようです。 ### 補足情報(FW/ツールのバージョンなど) Mac Xcode Version 10.0 blender 2.83.4 python 3.7.5
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。