-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't pickle local object 'Flask.init..' #115
Comments
me too.. |
I had the same issue, interestingly enough I fixed it by reverting back to python 3.6. Hopefully, this works for you. |
After 3 days, thanks g-d I found this
|
When running the code below, I get the error "Can't pickle local object 'Flask.init..'"
import sherpa
parameters = [sherpa.Discrete('num_units', [50, 200])]
alg = sherpa.algorithms.RandomSearch(max_num_trials=50)
study = sherpa.Study(parameters=parameters,
algorithm=alg,
lower_is_better=True)
Can you recommend me something which solves this error?
The text was updated successfully, but these errors were encountered: