如何解决在 ubuntu 16.04 中安装 pythonnet 包的问题

问题描述

我的系统: Ubuntu:16.04, 蟒蛇:3.8.6, 单声道:6.13.0

我从 git 中克隆了 pythonnet 包,https://github.com/pythonnet/pythonnet 然后运行命令 python setup.py build_ext --inplace 但我收到此错误

running build_ext
building 'pythonnet.mono.clr' extension
i686-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/aspa/aspaTask3DWebApp/aspa3dtaskenv/include -I/usr/include/python3.8 -c src/monoclr/clrmod.c -o build/temp.linux-x86_64-3.8/src/monoclr/clrmod.o -D_REENTRANT -I/usr/lib/pkgconfig/../../include/mono-2.0
unable to execute 'i686-linux-gnu-gcc': No such file or directory
error: command 'i686-linux-gnu-gcc' Failed with exit status 1

有人有任何解决方案吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)