好久没有来yy了。
最近在耍openAI,安装些组件的时候出了点问题,也不算是大问题,在https://github.com/openai/gym/issues/100找到了解决方案的,我这里算是记录一下。
jonasschneider说
One of the only references to this issue that I could dig up is http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2015q3.txt (grep for swigconstant
). For them, SWIG 3.0.6 is failing, while SWIG 3.0.2 is working.
我当时按照的时候这个小组建已经是3.0.10版本了,报了一样的错误,于是果断的把版本调到3.0.2
过程如下(用$标记的是输入的命令行):
$ conda uninstall swig
$ conda search swig
Fetching package metadata ...............
swig