We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mockup.py
In examples we get the following error on macos Big Sur. Adding fork = false in profit.yaml runner section works.
fork = false
profit.yaml
/Users/ert/src/profit/profit/config.py:69: UserWarning: Config parameter 'plot' for FitConfig configuration may be unused. warnings.warn(message) ^M 0%| | 0/30 [00:00<?, ?it/s]Namespace(base_dir='/Users/ert/src/profit/examples/mockup/study', mode='run') Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 126, in _main
The text was updated successfully, but these errors were encountered:
We could set the default for fork to False if macOS is detected (in defaults.py)
fork
False
defaults.py
something along the lines of:
import platform run_runner_local[‘fork’] = platform.system() != ‘Darwin’
Sorry, something went wrong.
No branches or pull requests
In examples we get the following error on macos Big Sur. Adding
fork = false
inprofit.yaml
runner section works.The text was updated successfully, but these errors were encountered: