I experimented and tried four different ways to install.
Doing “%pip install pymc>=5” on a fresh Data Science 3.0 image:
- Installs.
- On import, gives g++ not detected warning.
- On import, gives NumPy C-API warning.
- Fails import with SystemError: initialization of _internal failed without raising an exception.
I think the g++ one is a much bigger deal, than the Numpy C-API one, right?
Anyway, it won’t even import here for me, so /shrug !
Doing “%conda install pymc>=5” on a fresh Data Science 3.0 image:
- Fails install with error: ResolvePackageNotFound: - conda=22.9.0
Doing “%pip install pymc>=5” on a fresh Base Python 3.0 image:
- Installs.
- On import, gives NumPy C-API warning.
- Works otherwise.
Doing “%conda install pymc>=5” on a fresh Base Python 3.0 image:
- Fails install with error: ValueError: The python kernel does not appear to be a conda environment.
It seems conda install is not allowed from base python image.