这是我的环境设置
set NUKE_PATH=T:\___TEMP\Pipeline\nuke\plugins
set PYTHONPATH=C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg;
C:\Python27\lib\site-packages\pillow-4.0.0-py2.7-win-amd64.egg;
C:\Windows\SYSTEM32\python27.zip;
C:\Python27\lib;
C:\Python27\lib\plat-win;
C:\Python27\lib\lib-tk;
C:\Python27\lib\site-packages;
C:\Python27\lib\site-packages\win32;
C:\Python27\lib\site-packages\win32\lib;
C:\Python27\lib\site-packages\Pythonwin;
C:\Python27\lib\site-packages\kivy\modules;
C:\Users\Isaac\.kivy\mods
它总是说
sdl2 -ImportError:DLL load failed
pil -ImportError:DLL load failed
unable to find any valuable Text provider at all Abort
当我输入
from kivy.uix.button import Button
核弹刚刚关闭
这些代码在我的 Pycharm 中运行良好。你以前见过这个问题吗?Nuke 脚本编辑是否对查找 env 有任何特殊规则?