Description
Describe the bug
Upon a fresh installation of TLS on a Macbook Pro (Version 12.3 with Apple M1 Pro chip), whenever the transitleastsquares "power" function is ran, a seemingly infinite loop of processes is created. I suspected this is due to how Python tries to handle multi-processing and the newer Mac processor is no longer using a Intel x86_64 processor but instead a ARM-based processor.
To Reproduce
Steps to reproduce the behavior:
Following the K2-3b tutorial (https://github.com/hippke/tls/blob/master/tutorials/02%20Starter's%20guide%20-%20K2-3b%2C%20a%20red%20dwarf%20with%20a%20planet.ipynb) regularly produces this issue when ran from a command terminal.
Desktop (please complete the following information):
- OS: MacOS (Version 12.3)
- Python version 3.9.12
- TLS Version [1.0.31]
Possible solution?
In the "main.py" scripy within transitleastsquares, if importing "multiprocess" (which requires a pip installation) instead of Python's default "multiprocessing", this seems to work without having to change anything else.