multiprocessing AssertionError on Windows with old Python versions

Issue #36 wontfix
Thomas Gilgenast created an issue

On Windows, when installing from wheel and when running Python 2.7.10 or older, hitting any code path that involves @parallelize_regions (basically everything) triggers an infinite loop of errors that include this:

  File "C:\Python27\Lib\multiprocessing\forking.py", line 488, in prepare
    assert main_name not in sys.modules, main_name
AssertionError: __main__

This is actually a bug in Python that was fixed in 2.7.11.

The current workarounds are:

  1. install Python 2.7.11+
  2. install from a tarball or git

No fix is planned within lib5c.

Comments (3)

  1. Thomas Gilgenast reporter

    [docs] fixes #64

    also replaces the explicit list of python dependencies with a reference to setup.py

    also specifies that we require python 2.7.11+, see #36 for why

    → <<cset 18a7f6e08d6d>>

  2. Log in to comment