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__'". Please see the joblib documentation on Parallel for > more information
> May I please know how to solve this? Protect your code using a "if __name__ == '__main__'" block as mentionned in the error message. A quick look as the joblib parallel documentation will tell you more: http://pythonhosted.org/joblib/parallel.html HTH, Gaƫl ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
