RJ91
January 28, 2025, 10:33am
1
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
RJ91
January 28, 2025, 11:36am
3
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.
Can you share more details? What’s the full error message you get?
RJ91
January 30, 2025, 10:12am
7
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