参考文章:
https://blog.csdn.net/qq_40089637/article/details/108315643?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1-108315643-blog-124176997.pc_relevant_multi_platform_whitelistv1&spm=1001.2101.3001.4242.2&utm_relevant_index=4
https://blog.csdn.net/weixin_38989380/article/details/123505264?spm=1001.2014.3001.5506
安装配置:
win10
Anaconda:https://blog.csdn.net/Leiroy/article/details/116136076
Pycharm
python(3.6.2)
openAI gym(0.10.5)
tensorflow(1.8.0)
numpy(1.14.5)
1、以管理员身份运行Anaconda Prompt,输入命令创建虚拟环境
conda create --prefix=D:\Anaconda3\envs\myMPE python=3.6
activate myMPE
conda install tensorflow==1.8.0
conda install numpy==1.14.5
pip install gym==0.10.5
7、下载MPE文件,解压缩后在pycharm终端安装
下载地址:https://github.com/openai/multiagent-particle-envs
cd D:\RL\multiagent-particle-envs-master
pip install -e .
出现错误[WinError 5] 拒绝访问。: ‘D:\Anaconda3\envs\myMPE\Lib\site-packages\python_utils’,解决方法:
pip install --user e .
cd bin
python interactive.py --scenario simple.py
``
![成功](https://img-blog.csdnimg.cn/0ab2c582d8b7428a8ae19fc43d801274.png)