'qiskit' has no attribute '__qiskit_version__'

as title says, I type

qiskit.__qiskit_version__

and get the error AttributeError: module 'qiskit' has no attribute 'qiskit_version'. I have Anaconda installed as well as pip installed qiskit and qiskit[visualization]. The jupyter notebook only works within my python file and not sure what else to do?

1 answer

  • answered 2021-04-08 05:05 Long De

    The issue was python was installed in 2 different locations. Had to delete both then reinstall!