Error launching Lab
If you get one of the following errors while launching Lab,
400: Bad Request
500: Internal Server Error
503: Service Unavailable
your qBraid Lab server failed to start. Follow the prompts on the screen, or if none are given, return to https://account.qbraid.com, and click Launch Lab to try again.
Lab server errors
If you get one of the following errors from inside Lab,
Service unavailable or unreachable
File Save Error
you need to restart your qBraid Lab server. For these types of errors, refreshing the page won’t work. Instead, you need to pull down a new Lab image, which can only be done from the qBraid Hub Control Panel:
Go to File > Hub Control Panel, or type https://lab.qbraid.com/hub/home directly into your browser. From there, click Stop My Server > Start My Server > Launch Server, and wait for Lab to reload.
While running a notebook, if you get a
ModuleNotFoundError after an import statement:
1. Check to make sure you are using the correct notebook kernel for your environment, see Switch notebook kernel.
2. If you are using the correct kernel, the package you are trying to import may not be installed in that environment. See Install new package.
If you are running an Amazon Braket notebook and get a
NoRegionError, it’s likely that you have not enabled Quantum Jobs. Run
$ qbraid jobs enable [env_name]
and restart your kernel, and try running the notebook again. If you are using the Amazon Braket environment,
env_name is simply
Depending on the environment you’re using, executing
from braket.aws import AwsDevice
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'. If this happens to you, don’t worry! This is simply a result
of an outdated
pyOpenSSL version. Upgrade to the latest version and the problem should be resolved:
pip install --upgrade pyOpenSSL