TransWikia.com

How to fix “QiskitChemistryError:PySCF is not installed”

Quantum Computing Asked by anneahilator on February 25, 2021

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)

2 Answers

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.

Answered by Matthew Stypulkoski on February 25, 2021

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.

Answered by Heriotic on February 25, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP