I created python virtual environment using conda and switched to that environment on my windows machine.

I installed qiskit using pip install qiskit and I verified installation using pip list where it shows qiskit as one of the installed packages.

However under jupyter notebook when i tried importing the qiskit module with import qiskit it throws the following error.

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 1
----> 1 import qiskit

ModuleNotFoundError: No module named 'qiskit'

Qiskit version is 0.45.0 and python version is 3.12

I installed qiskit using pip in a python virtual environment on a windows machine. In jupyter notebook i tried to import qiskit with import qiskit however it threw Module not found error, No module named 'qiskit' I was expecting qiskit to be imported since all the setup looks correct

0

There are 0 best solutions below