Hey Faramarz. i recently helped a coworker/friend install pymc. i’m on windows and struggled installing it so these are the instructions i gave him.
step 0: install miniconda. Miniconda — conda documentation
miniconda is barebones conda. once it is installed. open up conda. ( Anaconda Prompt (miniconda3) )
- conda create -c conda-forge -n pymc_env “pymc>=5” python=3.10.6
- activate pymc_env
get in. - pip install numba (inside your pymc_env)
- conda install -c conda-forge mamba (inside your pymc_env)
- mamba install -c conda-forge nutpie pymc (inside your pymc_env)
i specified python=3.10.6 this is what is working for me. a month ago numba didn’t have support for python 3.11 (i think now it does?? but you’ll have to test it yourself, so just use 3.10.6).
once everything is setup you can pip install jupyter notebook. jupyter lab or anything else that you use. i dont recommend spyder, haven’t used it in years. VS-code user.