安装g+±arm-linux-gnueabihf时异常
在使用sudo apt-get install g+±arm-linux-gnueabihf 安装时,安装失败,报错如下:
File “/usr/bin/pyclean”, line 63
except (IOError, OSError), e:
因为我使用的python版本是3.4,这可能与版本相关,于是将其切换成2.7版本。这里,我仅仅修改了/usr/bin 下面的软连接。
当时参考了以下的帖子,其中提供了一些其他方法,如果修改python版本无效的话,建议试试其他方法。https://unix.stackexchange.com/questions/160185/except-ioerror-oserror-e-syntaxerror-invalid-syntax-when-configuring-pyt