Hyphcha

Results 4 comments of Hyphcha

If I “pyddm.set_N_cpus (1)” rather than >1 after importing numpy, there won't be any problems

``` import pandas import numpy as np import pyddm import pyddm.plot from pyddm import Sample with open("roitman_rts.csv", "r") as f: df_rt = pandas.read_csv(f) pyddm.set_N_cpus(2) # if only 1, it works...

``` --------------------------------------------------------------------------- RemoteTraceback Traceback (most recent call last) RemoteTraceback: """ Traceback (most recent call last): File "d:\Tools\Miniconda\envs\PyDDM\Lib\site-packages\multiprocess\pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "d:\Tools\Miniconda\envs\PyDDM\Lib\site-packages\multiprocess\pool.py", line...

The most streamlined code is already above. It's just a small change to your example. I've also uploaded it to my [github repository.](https://github.com/[Hyphcha/pyddmerror](https://github.com/Hyphcha/pyddmerror))