gpu4pyscf
gpu4pyscf copied to clipboard
KohnShamDFT' has no attribute 'do_nlc'
I receive the following error with the latest version strangely even when trying to run the CCSD example.
File "/home/br/gp1/gpu4pyscf/dft/rks.py", line 268, in KohnShamDFT do_nlc = rks.KohnShamDFT.do_nlc AttributeError: type object 'KohnShamDFT' has no attribute 'do_nlc'
do_nlc is introduced in PySCF v2.6. The latest version has already adapted the changes. You will need to upgrade PySCF for the latest version in your local environment.
We probably can improve the module import. cc module does not need dft module.