pyglet.gl.lib.GLException: b’invalid operation’
这是我在远程服务器上遇到的报错,转移至本地机器后无
unable to execute ‘swig’: No such file or directory error: command ‘swig’ failed with exit status 1
- 安装g++
g++ --version
检查g++,有则跳过
sudo apt-get install g++
安装g++
- 安装pcre
http://www.linuxfromscratch.org/blfs/view/svn/general/pcre.html
- 安装swig
http://www.swig.org/download.html 先下载压缩包,然后进行如下安装:
tar -xzcf swig-4.0.0.tar.gz
cd swig-4.0.0
./configure
make
sudo ma