当前位置:网站首页>Cannot re register id: pommeffacompetition-v0 problem solving
Cannot re register id: pommeffacompetition-v0 problem solving
2022-06-22 21:49:00 【Guanlongxin】
Problem description
stay pommerman Environment , When you expect to modify the base environment , because env The environment name has been registered in Zhongben and an error will be reported .
Cause analysis :
- Trace the source of the error and find the following code :

Solution :
- Comment out the above code , And add two lines of code :
print("Remove {} from registry".format(id)) # This trip is OK without adding
del registry.env_specs[id]

So for the environment of repeated registration , The registered environment will be deleted first and the new environment will be registered to register in .
Reference material
边栏推荐
- Lesson 019: function: my site listen to my after-school test questions and answers
- 杰理之MUSIC 模式获取播放文件的目录【篇】
- Jerry's plug-in 4m flash to view the processing method with a size of only 1m on the PC [chapter]
- Jerry's problem of opening the near end of four channel call [chapter]
- (duc/ddc) digital up mixing / quadrature down mixing principle and MATLAB simulation
- 杰理之在music模式下提示音使用打断模式无法播放的问题【篇】
- TC397 Flash
- 73- find the SQL example during the business peak period (report development class)
- 杰理之AUX 模式使用 AUX1或者 AUX2通道时,程序会复位问题【篇】
- Niuke's height in the 52nd monthly race B (thinking problem simulation problem)
猜你喜欢

数据库总结:mysql在开发过程中常见的问题及优化
![[redis]redis6 transaction operations](/img/50/639867a2fcb92082ea262a8a19bb68.png)
[redis]redis6 transaction operations

分享insert into select遇到的死锁问题(项目实战)

Share deadlock problems encountered in insert into select (project practice)

IDC publie le rapport sur la gouvernance des données en Chine

科研热点|官宣!2022年JCR分区和影响因子发布时间确定!

Laravel+ pagoda planning task

第019讲:函数:我的地盘听我的 | 课后测试题及答案

What is a data asset? How should data asset management be implemented?

基于C语言开发工资管理系统 课程论文+源码及可执行exe文件
随机推荐
CVPR2022 | 海德堡大学《深度视觉相似性与度量学习》教程
ACM. HJ24 合唱队 ●●
≥server2012R2系统,禁用系统自带的部分计划任务
75- when left join encounters subquery
86- to attend & lt; SQL writing and rewriting training & gt; 's participants add a second-hand case
LeetCode 每日一题——513. 找树左下角的值
分享insert into select遇到的死锁问题(项目实战)
las 点云创建网格
基于AI驱动大分子药物发现,「华深智药」获近5亿元A轮融资
94-SQL优化案例一则(用到的写法经常是被嫌弃的)
第032讲:异常处理:你不可能总是对的 | 课后测试题及答案
第025讲:字典:当索引不好用时 | 课后测试题及答案
Lesson 014-15: string (see lesson 27-32 of the new version of little turtle) | after class test questions and answers
90- review of several recently optimized Oracle databases
80- paging query, not only writing
牛客 52次月赛 C 说谎的机器 (区间赋值操作由O(n^2)转为O(n)的复杂度)
List of outstanding talents: no crystal vibration, one drag, eight burn and upgrade [chapter]
杰理之硬件上 DACL 输出,DAC 输出左右声道的声音【篇】
Lesson 028: Documents: because I know you, I will never forget the after-school test questions and answers [no title]
TC397 Flash