1
$\begingroup$

When I run:

from qiskit import QISKitError

I get the error:

ImportError: cannot import name 'QISKitError'

I need QISKitError for exception handling with my program. Did IBMQ recently update this import?

$\endgroup$
3
$\begingroup$

This has been moved to from qiskit.exceptions import QiskitError

|improve this answer|||||
$\endgroup$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.