MNGuenther / allesfitter

allesfitter is a convenient wrapper around the packages ellc (light curve and RV models), dynesty (static and dynamic nested sampling) emcee (Markov Chain Monte Carlo sampling) and celerite (Gaussian Process models).
MIT License
62 stars 36 forks source link

error in windows system #77

Open cianalei89 opened 4 months ago

cianalei89 commented 4 months ago

ImportError: cannot import name 'context' from partially initialized module 'multiprocessing' (most likely due to a circular import)

I'm trying to use allesfitter with a windows system but keep running into an error with importing. I've followed the steps on the website and already fixed the issue with fork and basement but I am still unable to import allesfitter using python.

I've included a screenshot of the error below importerror

wangxianyu7 commented 4 months ago

Hi, I cannot replicate the error you reported. It seems like you are using the default Python in Windows, not the Conda version. If you can switch to the Conda version, the error might be resolved. Also, I strongly suggest running allesfitter on WSL instead of Windows since some dependency packages' functions have not been tested on the Windows platform.