Closed tzipperle closed 5 years ago
Yes, this seems to be a problem with the combination of Windows and multiprocessing. The solutions seems to be to add everything in your script inside of an if __name__ == '__main__':
block.
Unfortunately, I do not have a windows machine available to test this on.
See https://docs.python.org/2/library/multiprocessing.html#windows, as well as https://stackoverflow.com/questions/18204782/runtimeerror-on-windows-trying-python-multiprocessing.
Thanks for the hint. With the if __name__ == '__main__':
statement the package works under windows.
I have installed with pip the version 1.1.0 of uncertainpy. I use Windows 10 and Python 3.6. When I tried the package I got the following error:
@simetenn Do you have any idea what's wrong?