Dan Foreman-Mackey

Results 547 comments of Dan Foreman-Mackey

https://github.com/dfm/emcee/blob/main/src/emcee/tests/integration/test_gaussian.py

@jpw96: This does seem like it's probably a problem with your cluster config, but there is also one bug that I can see in your code. If you use a...

Thanks - are you on a mac? What version of Python? The default settings for how multiprocessing on macOS [have changed in Python 3.8](https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods) so that could be the cause....

I'm not too sure. This probably has something to do with your specific model rather than emcee itself. The best bet is to try to make a simple example that...

I don't plan on updating the docs since this is just a fundamental issue with Python multiprocessing on Macs and others might have more intelligent fixes, but I could be...

This is awesome - thanks! I'll try to do a proper review ASAP.

@DavidMStraub: Sorry about dropping the ball on this!! Yes - that would be amazing if you're up for it. Thanks for your patience.

Since the error is being thrown when you print in your log likelihood function, this is not an emcee issue. You'll have to debug the Python/multiprocessing setup on your system.

The tests are failing because we need to change ```python import packaging ``` to ```python import packaging.version ```

@OriolAbril: If you check the "allow edits from maintainers" checkbox, then I can take over from here.