No module named 'openfermionpyscf'

ModuleNotFoundError: No module named ‘openfermionpyscf’ while executing chemistry modules.

I uninstalled pennylane and pennylane-chem and then reinstalled. But still it throws the same error.

Hi Amandeep,

You may want to install PySCF, OpenFermion, and openfermion-pyscf directly. You can follow the instructions here:

These chemistry packages are notoriously tricky to install, so it pays off to be patient.

Let me know if you still experience issues and I’ll see what else I can do to help.


Juan Miguel