Troubleshooting for WindowsΒΆ

In Windows, the multiprocesssing library may give certain issues. In order to avoid this, we need to add the following. In the main file we add this import:

from multiprocessing.spawn import freeze_support

Then, we define the main part of the script and add the following lines:

if __name__ == '__main__':
    freeze_support()

The rest of the code can continue as normal below as in Usage.