Rhapsod / sapienz

A Prototype of Sapienz (Out-of-date and no longer supported)
81 stars 49 forks source link

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

Open deteux opened 6 years ago

deteux commented 6 years ago

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?