2
$\begingroup$

I’m trying to simulate LiH using VQE. But I keep getting the error QiskitChemistryError:PySCF is not installed And I tried several ways to see whether my driver for the molecule was typed wrong. But couldn’t find any. I again downloaded the VQE molecule Jupyter notebook from the qiskit documentation and tried running it without any modification. It still gives me the same error. (Running with the updated qiskit version 0.20.0 on Windows10)

$\endgroup$
1
$\begingroup$

Typically you would need to install it through pip install pyscf, however I believe pyscf does not support Windows. If you look on their installation guide they give some instructions for installing the library, but on Windows you probably need to either use the ubuntu subsytem for Windows or set up a VM.

$\endgroup$
0
$\begingroup$

I was able to run PySCF on Windows by first downloading Visual studio installer. After installing it, you have to install desktop development with C++ in there and it'll solve your issue most probably.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.