Open OscarFlores-IFi opened 1 month ago
]
:tada: Welcome to PyMC! :tada: We're really excited to have your input into the project! :sparkling_heart:
If you haven't done so already, please make sure you check out our Contributing Guidelines and Code of Conduct.
Describe the issue:
RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase.
When running the file, it appears as:
Auto-assigning NUTS sampler... Initializing NUTS using jitter+adapt_diag... Multiprocess sampling (8 chains in 4 jobs) NUTS: [beta, intercept_0] Auto-assigning NUTS sampler... Initializing NUTS using jitter+adapt_diag... Multiprocess sampling (8 chains in 4 jobs) NUTS: [beta, intercept_0]
Immediately after that, it shows the runtime error.
This failure appears when running the code directly from conda (base) or inside a conda environment. I tried running this on a python venv on windows and it also did not work.
When running the same code under a conda environment in Ubuntu24 it worked without any problems.
I have no idea what kind of information is needed to replicate the error. I will try to paste here what I think important.
conda 24.4.0
arviz 0.18.0 mkl 2023.2.0 numpy 1.26.4 pandas 2.2.2 pymc 5.14.0 pytensor 2.20.0
Windows 11 Version 10.0.22631 Build 22631 Processor i7-11800H Installed Physical Memory (RAM) 64.0 GB
Reproduceable code example:
Error message:
PyMC version information:
conda create -c conda-forge -n pymc_env "pymc>=5" conda activate pymc_env
Context for the issue:
Nothing could run in windows :(