The installation process seemed successful, and pip reported “Requirement already satisfied” when I checked again.
However, when I attempt to import the library in my Python code:
import pymc_experimental as pmx
I receive the following error:
ModuleNotFoundError: No module named 'pymc_experimental'
Same goes for any other class from the module
Troubleshooting Steps Taken:
I’ve verified the installation using pip.
I’ve ensured I’m running the code in the correct environment where pymc_experimental is installed (pymc_env)
Despite the seemingly successful installation, I’m still encountering the import error. Could anyone offer insights into why this might be happening and how to resolve it?
I have installed a new environment from stratch following the exact instructions for pymc. Terminal confirmed the installation of the pymc experimental. Nonetheless, it cannot be imported in either way.
Perhaps, either there is a bug in the last version or I am missing the correct way to import the module.
I have tried
import pymc as pm
import pymc_experimental as pmx
and
import pymc as pm
import pymc_experimental
All failed showing up an error module was not found