Closed p-funk closed 5 years ago
Hi @p-funk , Thanks a lot for your contribution. I would like to add it to the README. But before I do that, can you tell me:
if __name__ == '__main__'
?I have 7zip installed. Without that line, I get the following:
An attempt has been made to start a new process before the current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable. exitcode = _main(fd)
Ok thanks, I have made the updated...
To get this to work on Windows 10 I had to do the following:
Create a new environement
Install the packages
I had to add a
if __name__ == '__main__'
: line just before num_workers.