Hello!
I installed Pennylane and am now trying to import it on a python notebook on VS Code, but it gives me an error I do not understand. Any suggestions? I am using Python 3.8.6 so that doesn’t seem to be the issue
import pennylane as qml
If you want help with diagnosing an error, please put the full error message below:
TypeError Traceback (most recent call last)
<ipython-input-1-513b7c8af88d> in <module>
----> 1 import pennylane as qml
/opt/anaconda3/lib/python3.8/site-packages/pennylane/__init__.py in <module>
31 import pennylane.operation
32 import pennylane.qnn
---> 33 import pennylane.templates
34 import pennylane.pauli
35 from pennylane.pauli import pauli_decompose
/opt/anaconda3/lib/python3.8/site-packages/pennylane/templates/__init__.py in <module>
19 from .layer import *
20 from .layers import *
---> 21 from .embeddings import *
22 from .subroutines import *
23 from .state_preparations import *
/opt/anaconda3/lib/python3.8/site-packages/pennylane/templates/embeddings/__init__.py in <module>
18 """
19
---> 20 from .angle import AngleEmbedding
21 from .amplitude import AmplitudeEmbedding
22 from .basis import BasisEmbedding
...
---> 91 else metadata.entry_points(group="pennylane.compilers")
92 )
93
TypeError: entry_points() got an unexpected keyword argument 'group'