我已经为blender创建了以下自定义脚本 https://github.com/Korchy/Ozbend_Engraving_Internal
我试图通过SSH使用它 像这样
blender -b -P __init__.py
But im getting the following error
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2501:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
Traceback (most recent call last):
File "/home/solomio/public_html/engravingcreator/__init__.py", line 19, in <module>
from . import engraving_internal_ops
SystemError: Parent module '' not loaded, cannot perform relative import
我怎样才能解决这个问题?你知道吗
你试图运行的“脚本”是一个插件。你不运行这个脚本,你安装并启用插件来添加额外的功能搅拌机。启用插件后,可以运行一个python脚本来运行它提供的操作符,类似于任何内置操作符。你知道吗
This answer演示如何在后台运行blender时自动执行,对于链接到的加载项,下载repo的zip并将zip文件的路径传递给
addon_install
。你知道吗使加载项执行的命令应该是
bpy.ops.engravinginternal.start()
相关问题 更多 >
编程相关推荐