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

error running on windows #4

Open
LeeSword12 opened this issue Jan 27, 2023 · 2 comments
Open

error running on windows #4

LeeSword12 opened this issue Jan 27, 2023 · 2 comments

Comments

@LeeSword12
Copy link

Traceback (most recent call last):
File "D:\Program Files\JetBrains\PyCharm Community Edition 2019.3.5\plugins\python-ce\helpers\pydev\pydevd.py", line 1434, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\Program Files\JetBrains\PyCharm Community Edition 2019.3.5\plugins\python-ce\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "./THIRDPARTY/pymarl2/pymarl2src/main.py", line 126, in
my_main(None, config_dict, None)
File "./THIRDPARTY/pymarl2/pymarl2src/main.py", line 52, in my_main
run_REGISTRY[_config['run']](_run, config, _log)
File "D:\2023Work\1IntelligentBattle\hmp2g-master\THIRDPARTY\pymarl2\pymarl2src\run\run.py", line 52, in run
run_sequential(args=args, logger=logger)
File "D:\2023Work\1IntelligentBattle\hmp2g-master\THIRDPARTY\pymarl2\pymarl2src\run\run.py", line 85, in run_sequential
runner = r_REGISTRY[args.runner](args=args, logger=logger)
File "D:\2023Work\1IntelligentBattle\hmp2g-master\THIRDPARTY\pymarl2\pymarl2src\runners\efficient_parallel_runner.py", line 82, in init
self.remote_link_client = UnixTcpClientP2P(unix_path, obj='pickle')
File "D:\2023Work\1IntelligentBattle\hmp2g-master\UTIL\network.py", line 413, in init
self.self_unix_path = target_unix_path+'client'+uuid.uuid1().hex[:5]
TypeError: can only concatenate tuple (not "str") to tuple

target_unix_path = ('localhost', 12235)

@binary-husky
Copy link
Owner

a compatibility bug in Windows

can be fixed by changing "UnixTcpClientP2P"->"TcpClientP2P" in "THIRDPARTY/pymarl2/pymarl2src/runners/efficient_parallel_runner.py"
image

later we'll find a Windows environment to test it.

@binary-husky
Copy link
Owner

just fixed after hmp2g/commit/d0a032ad672976f6781222780d5f95a83efa35f0
and pymarl-hmap-compat/commit/9a8fca0a92ec4fac4b7f2d0ddb4bd7cddea8c521

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

2 participants