2
$\begingroup$

So I am getting this error when I fire the command on Ipython or Jupyter Notebook

<ipython-input-14-8c9b14139f9d> in< module>()
           from qiskit import IBMQ

ImportError: cannot import name 'IBMQ'

Does anyone know that kinda error? If anyone has experienced such errors while using qiskit, please help here.

$\endgroup$
  • 1
    $\begingroup$ What version of Qiskit do you have installed? Could you make sure that it is at least 0.5? $\endgroup$ – James Wootton Oct 15 '18 at 12:11
  • $\begingroup$ @JamesWootton yeah. Okk $\endgroup$ – BayMax Oct 15 '18 at 12:29
  • $\begingroup$ Okkay dude, I have checked and the version is definitely greater than 0.5. $\endgroup$ – BayMax Oct 18 '18 at 11:44
  • $\begingroup$ I actually meant to ask you to check whether you have 0.6, since that is where the IBMQ thing became importable. Also what happens if you simply import qiskit? $\endgroup$ – James Wootton Oct 18 '18 at 12:31
  • 1
    $\begingroup$ I faced the same problem. It turned out the problem related to the api some how so use ibmq.delete_accounts to remove all the old api $\endgroup$ – ِAbedalbaset ll Nov 30 '18 at 15:51

Your Answer

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

Browse other questions tagged or ask your own question.