在窗口中,我安装了python3.6 并且,通过命令行安装matplotlib:
pip install matplotlib
安装之后,我在python控制台中运行matplotlib
^{pr2}$在python36\lib\site包中
我想在blender中使用python中的matplotlib库,
我可以将Python的python36\lib\site-packages
中的matplotlib复制到Blender\2.78 \python\lib\site-packages
中吗?在
我试图复制,但只导入matplotlib,但是当matplotlib.pylot对于plt,误差如下
我不知道怎么修,请帮帮我
非常感谢你!在
首先,您需要确保使用与blender构建时使用的python版本相同,对于blender 2.78,即python3.5。对于像matplotlib这样的编译python模块,这比纯python模块更重要。在
使用第三方模块的方法不多,第一种方法是将它们安装到blender的python副本中。另一种方法是删除blender的python,以便使用系统安装的版本。您还可以调整^{} 以允许blender的python找到第三方模块。在
相关问题 更多 >
编程相关推荐