Open AnthonyTheKoala opened 3 years ago
This looks to be a Windows specific issue with multiprocessing. The other ways of running the script that work probably implicitly handle the requirements Windows is looking for, but when running the python file you likely need to wrap your main script with the code mentioned in the error: https://stackoverflow.com/questions/24374288/where-to-put-freeze-support-in-a-python-script/24374798#24374798
I wish to report runtime errors when running a script from your github page at https://github.com/hyperopt/hyperopt-sklearn under the subheading "Complete example using the Iris dataset:".
In summary:
The program is from the github page with subheading "Complete example using the Iris dataset":
If I handtype/copy-and-paste the above code OR If I run the file myfile.py by
It works as excepted- excerpt from IDLE output.
BUT when I run myfile.py in a command window, eg MS Win 7 dos terminal I get the following
In sum:
Info: python: 3.8.5 OS: MS Win 7
Thank you, Anthony of Sydney