Ubuntu 20.04.1 + Python 3.8 环境配置问题

1.安装RLlib出错

  使用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

  

posted @ 2020-08-18 13:02  Iceccino  阅读(913)  评论(0编辑  收藏  举报