遇到这类问题时,可能是你没有这个文件,或者没有安装出错,对于已安装的情况,参考博客,没有安装时,或版本不符,(我的版本不符,我就重新安装了一下)
sudo apt-get install libmatio2
luarocks install matio
然后报错了:
warning: Failed searching manifest: Failed fetching manifest for …
Error: No results matching query were found
解决办法 参考网址,
sudo rm -rf ~/.cache/luarocks
删除缓存文件,就可以了,然后在运行就好了