Numba 'parallel' not supported on Windows


User question:

I’ve been testing out using xfuncs with Rhino on my Windows virtual machine, and evidently numba parallel is not supported on Windows operating systems when using Python 2.7 (or 32 bit hardware). I can fix this by setting all parallel keywords to False, but I don’t know if there’s an automatic way to solve this if the script is imported on Windows. For now, I’m just setting all parallel keyword values to False.


The current compas direction is to recommend the installation and use of Python 3, even though Rhino is (currently) IronPython 2.7.5, the Python version that is used when XFunc is called can still be Python 3 in the background (Anaconda or otherwise). Rather than make many changes such as setting parallel to False, I think installing Python 3 would be easier and more future proof.