python - 如何在 (Anaconda) Spyder 中使用 Blender 中的 blenderpy 模块
问题描述
我已经尝试安装模块bpy
(blenderpy),以便能够直接从 Spyder IDE 使用 Python 3.8.5 为 Blender 运行 python 脚本。但是,我似乎无法为此找到一个好的解决方案。
我尝试在 Github 上关注这个wiki,以使用为bpy version 2.82
. 我安装了所有必需的程序并尝试在 Spyder 控制台中安装bpy
,!pip install bpy --no-binary :all:
就像在 wiki 中建议的那样。不幸的是,bpy version 2.82
与 Windows Python 3.8.5 不兼容:
in build_cmake
raise Exception(f"{VERSION} bpy is not compatible with "
Exception: 2.82 bpy is not compatible with Windows Python 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] 64bit [...]
否则 bpy 的安装可能会起作用。
我现在的问题是:是否有更新的版本bpy
可以安装pip
并与(Anaconda)Spyder python 3.8.5 兼容?如果没有,我需要安装 Python 的哪个 Anaconda 发行版才能与 bpy 2.82 兼容?您如何手动将模块(如 bpy)添加到您的 Spyder IDE,这些模块在 Python 的 Anaconda-Distribution 中不可用且无法通过 anaconda.org 安装?
解决方案
推荐阅读
- ionic-framework - Ionic 4 协议缓冲区
- python - 用 Python 更新 MySQL 列
- spring-boot - 如何在springboot的h2数据库中自动生成一个id?
- python-3.x - 将日期与 datetime64[ns] 进行比较 - Pandas
- python - CLibraryError: 解析单元数据库时出错
- python - "flatten: 每一行 pandas Dataframe
- structure - String 作为 Union 的成员
- android - RecyclerView / DiffUtils 动画当数据集更改而没有完全刷新
- android - 如何获取 .keystore 文件以生成加密您的私钥
- html - 如何仅使用 CSS 在 div 标签中创建单选按钮