我正在尝试在基于Netlogo Agent的建模中测试python的扩展:
这是我的代码:
extensions [py]
to setup
py:setup py:python
show py:runresult "1 + 1"
end
我收到此错误:
Python error output:
C:\Program Files\NetLogo 6.1.0\app\extensions\py\pyext.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
我需要帮助,非常感谢。
答案 0 :(得分:-1)
下载netlogo的最新版本:netlogo 6.1.1