Skip to content

ValueError: Number of processes must be at least 1 #13

@deteux

Description

@deteux

Execution halts right after "### Initialising population ...." and gives this:
Traceback (most recent call last): File "main.py", line 380, in <module> main(app_dir) File "main.py", line 323, in main package_name=package_name) File "/Users/account/Favorite/sapienz/init/initRepeatParallel.py", line 69, in initPop pool = mp.Pool(processes=len(idle_devices)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/__init__.py", line 232, in Pool return Pool(processes, initializer, initargs, maxtasksperchild) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 152, in __init__ raise ValueError("Number of processes must be at least 1") ValueError: Number of processes must be at least 1

Anyone have any idea how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions