Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why i couldn't run the program MAIN_DDPG.PY #3

Open
kiek17 opened this issue Nov 4, 2022 · 0 comments
Open

why i couldn't run the program MAIN_DDPG.PY #3

kiek17 opened this issue Nov 4, 2022 · 0 comments

Comments

@kiek17
Copy link

kiek17 commented Nov 4, 2022

D:\Anaconda3\envs\marl\python.exe "D:\Program Files\JetBrains\PyCharm 2021.1.3\plugins\python\helpers\pycharm_jb_pytest_runner.py" --path "E:/CODE GIT/AI-Optimizer/multiagent-rl/easy-marl/main_ddpg.py"
Testing started at 14:55 ...
D:\Program Files\JetBrains\PyCharm 2021.1.3\plugins\python\helpers\pycharm_jb_pytest_runner.py:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
Launching pytest with arguments E:/CODE GIT/AI-Optimizer/multiagent-rl/easy-marl/main_ddpg.py --no-header --no-summary -q in E:\CODE GIT\AI-Optimizer\multiagent-rl\easy-marl

if version.LooseVersion(pytest.version) >= version.LooseVersion("6.0"):
============================= test session starts =============================
collecting ... collected 1 item

main_ddpg.py::test_one_episode ERROR [100%]
**test setup failed
file E:\CODE GIT\AI-Optimizer\multiagent-rl\easy-marl\main_ddpg.py, line 7
def test_one_episode(args, agent):
E fixture 'args' not found

  available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
  use 'pytest --fixtures [testpath]' for help on them.**

E:\CODE GIT\AI-Optimizer\multiagent-rl\easy-marl\main_ddpg.py:7

============================== 1 error in 0.86s ===============================

进程已结束,退出代码为 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant