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$

1 Answer 1

3
$\begingroup$

This has been moved to from qiskit.exceptions import QiskitError

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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