Installation problems pymc3 and pymc

When installing either package, I’m getting the next error:

AttributeError: module ‘pkgutil’ has no attribute ‘ImpImporter’. Did you mean: ‘zipimporter’?
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Have you tried installing from a fresh environment following the official instructions: Installation — PyMC dev documentation

Those options (Anaconda and miniforge) are blocked by my employer. No, they won’t lift those restrictions.

What about pip installing in a new python virtual environment? The error you’re getting is not something I have seen before.

Same issue here.

Can you share more details? What’s the full error message you get?

I finally managed to do it with a very specific set of versions of python and pymc (as I also needed tensorflow) and got it working through conda. Thanks for trying to help.

1 Like