Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows compatibility?

See original GitHub issue

Does it work under Windows? I run python examples/ale/ 4 pong --steps 100 --outdir ./output/ale/a3c and get an error:

Output files are saved in ./output/ale/a3c\20171116T000856.454199
Traceback (most recent call last):
  File "examples/ale/", line 151, in <module>
  File "examples/ale/", line 147, in main
  File "E:\Programs\Anaconda3\envs\intel35\lib\site-packages\chainerrl-0.2.0-py3
.5.egg\chainerrl\experiments\", line 234, in train_agent_asy
  File "E:\Programs\Anaconda3\envs\intel35\lib\site-packages\chainerrl-0.2.0-py3
.5.egg\chainerrl\misc\", line 131, in run_async
  File "E:\Programs\Anaconda3\envs\intel35\lib\multiprocessing\", line
 105, in start
    self._popen = self._Popen(self)
  File "E:\Programs\Anaconda3\envs\intel35\lib\multiprocessing\", line
 212, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "E:\Programs\Anaconda3\envs\intel35\lib\multiprocessing\", line
 313, in _Popen
    return Popen(process_obj)
  File "E:\Programs\Anaconda3\envs\intel35\lib\multiprocessing\popen_spawn_win32
.py", line 66, in __init__
    reduction.dump(process_obj, to_child)
  File "E:\Programs\Anaconda3\envs\intel35\lib\multiprocessing\", li
ne 59, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'run_async.<locals>.set_seed_and_run'

(intel35) c:\Projects\Atari\chainerrl>Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "E:\Programs\Anaconda3\envs\intel35\lib\multiprocessing\", line 1
06, in spawn_main
    exitcode = _main(fd)
  File "E:\Programs\Anaconda3\envs\intel35\lib\multiprocessing\", line 1
16, in _main
    self = pickle.load(from_parent)
EOFError: Ran out of input

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

redxefcommented, Jan 4, 2018

Ok, I got it to run by hacking multiprocessing.

- import pickle
+ import dill as pickle

I don’t know if I broke something else with this without noticing, but the example runs.

hyperionfallingcommented, Mar 10, 2020

try pip install dill==0.3.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compatibility for Windows 11
Windows 10 will be compatible with most existing PC hardware; most devices running Windows 7, Windows 8, or Windows 8.1 will meet the ......
Read more >
How to change the Windows compatibility mode
In the Windows operating system, compatibility mode allows software to run as if it were doing so in an older version of Windows....
Read more >
Microsoft.Windows.Compatibility 7.0.0
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET...
Read more >
How to Set Compatibility Mode for Apps in Windows 10
How to Set Compatibility Mode for Apps in Windows 10 · 1. Right-click on an app and select Properties. · 2. Select the...
Read more >
Windows Compatibility Mode
From the drop-down menu, select Properties. Once the window is open, select the Compatibility tab. ... If using a shortcut, be sure that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found