Error while importing Pennylane on colab

Hi everyone, an error occured to me while importing pennylane on google colab. I re-installed pennylane but the error still occurs.
Does anyone have an idea how to solve this problem?

Hi @Khaireddine_Medhioub! This is due to a new release of Autoray, which PennyLane is not compatible with. We are working fast to fix this issue - in the meantime, if you downgrade Autoray to version 0.2.5, this should fix the bug:

pip install autoray==0.2.5
1 Like

Hi @josh! It worked. Thank you!

1 Like