参考:
https://www.cnblogs.com/hasakei/p/10035198.html
https://blog.csdn.net/senjie_wang/article/details/84073823
https://github.com/bbitmaster/ale_python_interface/issues/2
=======================================================
问题:
安装ale_python_interface时报错
最近在看一个上古老代码,需要安装 ale_python_interface 包,pip 安装报错,提示:fatal error: ale_c_wrapper.h
可能是时间久远了,网上的安装方法都已经失效了,于是探索出了一个新的解决方法:
下载源码:
Arcade Learning Environment 0.6.1
wget https://github.com/Farama-Foundation/Arcade-Learning-Environment/archive/refs/tags/v0.6.1.tar.gz
tar -zxvf v0.6.1.tar.gz
cd ./Arcade-Learning-Environment-0.6.1/
make
python setup.py install
再次运行发现可以成功运行老代码。
=========================================
=======================================================
- ale_python_interface interface python ale ModuleNotFoundErrorale_python_interface ale_python_interface interface python ale modulenotfounderror python3 python module mysql modulenotfounderror connector python modulenotfounderror encodings python module modulenotfounderror解决方案 方案python modulenotfounderror脚本python module modulenotfounderror python3 install python modulenotfounderror经验python module modulenotfounderror libffi-devel错误python3