Re: [Scikit-learn-general] problem with parallel computing on windows xp

2013-07-31 Thread Gael Varoquaux
On Thu, Aug 01, 2013 at 11:46:09AM +0800, Shuo Wang wrote: > ImportError: [joblib] Attempting to do parallel computingwithout protecting > your import on a system that does not support forking. To use > parallel-computing in a script, you must protect you main loop using "if > __name__ == '__main__

[Scikit-learn-general] problem with parallel computing on windows xp

2013-07-31 Thread Shuo Wang
Hi, I am trying to run 4 jobs on windows xp with sklearn 0.13.1 model = RandomForestRegressor(n_estimators=500, compute_importances =True, n_jobs =4) I am receiving the following error Traceback (most recent call last): File "", line 1, in File "C:\Python27\lib\multiprocessing\forking.py",