Open RalfKellner opened 3 years ago
me too..
Traceback (most recent call last):
File "/Users/kennymccormick/github/QInvestment/Monitor_RPC_Client.py", line 16, in
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 just add an import and a first line of code
from sherpa import multiprocessing
multiprocessing.set_start_method("fork")
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?