PYMC3を実行してみるとエラーが出る

いつもはJupyterからPyMC3を呼び出していましたが,今回はスクリプトを実行してみたところ,次のようなエラーが出たという.

In Windows OS, this usually means that the child process raised an exception while it was being spawned, before it was setup to communicate to the main process.
The exceptions raised by the child process while spawning cannot be caught or handled from the main process, and when running from an IPython or jupyter notebook interactive kernel, the child's exception and traceback appears to be lost.
A known way to see the child's error, and try to fix or handle it, is to run the problematic code as a batch script from a system's Command Prompt. The child's exception will be printed to the Command Promt's stderr, and it should be visible above this error and traceback.
Note that if running a jupyter notebook that was invoked from a Command Prompt, the child's exception should have been printed to the Command Prompt on which the notebook is running.

調べてみると,下記のサイトが参考になりました.
stackoverflow.com

pm.sampleの引数にcoresを入れるんだとか.coresって何だ?と思ってドキュメントを調べてみたところ,並行して走らせるチェーンの数らしいですね.
docs.pymc.io

最近はnjobsではなく,coresでチェーンの数を設定するんですかね?

そういえば最近,pm.sampleの引数をnjobs=2みたいに指定したら,

ValueError: Unused step method arguments: {'njobs'}

というエラーが出ましたが,これに関係するのかな.公式ドキュメントを見てもnjobsって無いし..

と思って調べたら
下記によれば

njobs have been removed, please use coresinstead

だそうです
github.com