有人可以逐步介绍如何在 linux 环境中安装剪辑和 clipspy。pip install clipspy
对我不起作用,因为我的组织中不允许使用 pip。我需要从源代码构建。
我试过python setup.py install
了,clipspy-0.3.0
但编译终止了。
gcc -pthread -B /anaconda3/compiler_compat -Wl,--sysroot=/ -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes /clips_core_source_630/core/ -fPIC -Ic -Itmpclips_core_source_630core -I/anaconda3/include/python3.6m -c build/temp.linux-x86_64-3.6/_clips.c -o build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6/_clips.o
build/temp.linux-x86_64-3.6/_clips.c:523:19: fatal error: clips.h: No such file or directory
#include <clips.h>
^
compilation terminated.
我知道我必须安装 clips_6.30 但 src 代码中有很多 make 文件
clips_core_source_630/makefiles> ls
makefile.g++ makefile.gcc makefile.lib makefile.lib++ makefile.win
我没有c/c++
技术经验,也无法理解clips_core_source_630
.