使用pip安装RLlib时报错:
sys.stderr.write("Unable to execute ‘{}‘. HINT: are you sure `make` is installed?\n".format(‘ ‘.join(cmd)))
NameError: name ‘cmd‘ is not defined
以及Failed building wheel for atari-py
解决方案:
先安装python的cmake库
之后命令行运行
sudo apt-get install swig xvfb xorg-dev libsdl2-dev
sudo apt install cmake libz-dev
Ubuntu 20.04.1 + Python 3.8 环境配置问题
原文:https://www.cnblogs.com/crvz6182/p/13522923.html