Bonjour,

je connais pas grand chose en python. je suis juste un débutant dans ce domaine.
j'ai récupérer un programme sur ce site : https://github.com/SASUKE-DUCK/WKS-K...es/tag/WKS-KEY

quand je clique sur L1.py ou L3.py, il m'affiche une erreur :
Traceback (most recent call last):
File "C:\Users\N\Desktop\WKS-KEYS\l1.py", line 9, in <module>
from pywidevine.L1.cdm import cdm, deviceconfig
File "C:\Users\N\Deskop\WKS-KEYS\pywidevine\L1\cdm\cdm.py", line 10, in <module>
from pywidevine.L1.cdm.formats import wv_proto2_pb2 as wv_proto2
File "C:\Users\N\Desktop\WKS-KEYS\pywidevine\L1\cdm\formats\wv_proto2_pb2.py", line 33, in <module>
_descriptor.EnumValueDescriptor(
File "C:\Python310\lib\site-packages\google\protobuf\descriptor.py", line 755, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protoc...python-updates
ma version python : Python 3.10.6

Pouvez-vous me dire comment puis-je corriger ce problème? merci d'avance