Cannot import qiskit to VS Code

85 views Asked by At

I have a problem of importing qiskit in visual studio code.

I have already installed the extension package 'qiskit-vscode' v0.5.5 provided by VS Code, but there is still an error of importing the qiskit. Please let me know what makes it wrong. Is there any alternative way to run quantum 'qiskit' code on VS Code?

1

There are 1 answers

0
Roy Elkabetz On BEST ANSWER

It sound like you have installed the vscode extension but you haven't actually created a Python environment and installed the Qiskit package in that environment using pip install qiskit. If that is the case, you should check out the following thread.