VideoHelp Forum




+ Reply to Thread
Page 1 of 4
1 2 3 ... LastLast
Results 1 to 30 of 92
  1. Good day.

    I have a problem with WKS-KEYS. The program runs under Ubuntu Linux. Only on Windows I get this error message:
    C:\Users\Heiko>C:\Users\Heiko\Downloads\WKS-KEYS\l3.py
    Traceback (most recent call last):
    File "C:\Users\Heiko\Downloads\WKS-KEYS\l3.py", line 14, in <module>
    from pywidevine.L3.cdm import cdm, deviceconfig
    File "C:\Users\Heiko\Downloads\WKS-KEYS\pywidevine\L3\cdm\cdm.py", line 7, in <module>
    from google.protobuf.message import DecodeError
    ModuleNotFoundError: No module named 'google'

    What could that be?

    Best regards
    Heiko
    Quote Quote  
  2. Exactly what the error message says: you don't have the "google" module installed. Simply a missing dependency.
    Quote Quote  
  3. Originally Posted by Data2006 View Post
    Good day.

    I have a problem with WKS-KEYS. The program runs under Ubuntu Linux. Only on Windows I get this error message:
    C:\Users\Heiko>C:\Users\Heiko\Downloads\WKS-KEYS\l3.py
    Traceback (most recent call last):
    File "C:\Users\Heiko\Downloads\WKS-KEYS\l3.py", line 14, in <module>
    from pywidevine.L3.cdm import cdm, deviceconfig
    File "C:\Users\Heiko\Downloads\WKS-KEYS\pywidevine\L3\cdm\cdm.py", line 7, in <module>
    from google.protobuf.message import DecodeError
    ModuleNotFoundError: No module named 'google'

    What could that be?

    Best regards
    Heiko
    pip install google
    Quote Quote  
  4. Code:
    pip install google-api-python-client
    Quote Quote  
  5. Hello everyone.

    pip install... is for Linux, right? It doesn't work under Windows 10.

    WKS-KEYS runs under Linux. Just not under Windows 10.

    Best regards
    Heiko
    Quote Quote  
  6. if you had installed python.exe and add it to system path, then you can use pip in windows, totally same as in linux.
    Quote Quote  
  7. Code:
    python -m pip help
    If PIP is installed, the program runs without any errors
    Quote Quote  
  8. Code:
    python -m pip install google-api-python-client
    OR
    Code:
    python3 -m pip install google-api-python-client
    I recommend using a venv:
    Code:
    python -m venv venv
    OR
    Code:
    python3 -m venv venv
    The install command using a venv:
    Code:
    venv\Scripts\pip.exe install google-api-python-client
    OR
    Code:
    venv\Scripts\python.exe -m pip install google-api-python-client
    Quote Quote  
  9. Good morning,
    I carried out the commands. But it didn't help:

    C:\Users\Heiko>py --version
    Python 3.12.3
    C:\Users\Heiko>py -m venv venv
    C:\Users\Heiko>venv\Scripts\pip.exe install google-api-python-client

    C:\Users\Heiko>C:\Users\Heiko\Downloads\WKS-KEYS\l3.py
    Traceback (most recent call last):
    File "C:\Users\Heiko\Downloads\WKS-KEYS\l3.py", line 14, in <module>
    from pywidevine.L3.cdm import cdm, deviceconfig
    File "C:\Users\Heiko\Downloads\WKS-KEYS\pywidevine\L3\cdm\cdm.py", line 7, in <module>
    from google.protobuf.message import DecodeError
    ModuleNotFoundError: No module named 'google'

    C:\Users\Heiko>

    Did I do something wrong?

    Best regards
    Heiko
    Quote Quote  
  10. C:\Users\Heiko>py --version
    Der Befehl "py" ist entweder falsch geschrieben oder
    konnte nicht gefunden werden.

    C:\Users\Heiko>
    C:\Users\Heiko>python --version
    Python 3.12.3

    C:\Users\Heiko>
    Quote Quote  
  11. did you run the program using the venv?
    Code:
    venv\Scripts\python.exe l3.py
    Quote Quote  
  12. C:\Users\Heiko>venv\Scripts\python.exe C:\Users\Heiko\Downloads\WKS-KEYS\l3.py

    C:\Users\Heiko>

    Nothing happens.
    Quote Quote  
  13. I think I have 2x Python 3.12.3 now.
    C:\Users\Heiko>python --version
    Python 3.12.3

    C:\Users\Heiko>C:\Users\Heiko\AppData\Local\Progra ms\Python\Launcher\py.exe --version
    Python 3.12.3
    Quote Quote  
  14. C:\Users\Heiko>venv\Scripts\python.exe --version
    Zugriff verweigert
    Quote Quote  
  15. Maybe that's happening because you're in a weird directory (userdir).
    Create a folder on the Desktop, re-create the venv and move WKS-KEYS into that folder. Then run the command again.
    Quote Quote  
  16. Unfortunately it didn't work.

    I do not know what I'm doing wrong.
    Quote Quote  
  17. Maybe try pywidevine instead of WKS-KEYS?
    Quote Quote  
  18. My l3.py file is empty. Then it can't work.
    Now where do I get a new l3.py file?


    C:\Users\Heiko\Desktop\WKS>dir
    Datenträger in Laufwerk C: ist Win10
    Volumeseriennummer: 7B3F-B154

    Verzeichnis von C:\Users\Heiko\Desktop\WKS

    21.04.2024 10:54 <DIR> .
    21.04.2024 10:54 <DIR> ..
    21.04.2024 10:36 2.981 google_aosp_on_ia_emulator_14.0.0_15a6ca74_4464_l3 .wvd
    19.02.2024 00:49 3.704 headers.py
    13.11.2023 20:00 3.609 headers.py.bak
    10.11.2021 13:49 1.022 l1.py
    21.04.2024 05:59 0 l3.py
    21.04.2024 06:00 0 python
    21.04.2024 10:46 <DIR> pywidevine
    14.11.2023 17:48 11.888 token.docx
    21.04.2024 10:54 <DIR> venv
    21.04.2024 10:46 <DIR> __pycache__
    7 Datei(en), 23.204 Bytes
    5 Verzeichnis(se), 88.692.215.808 Bytes frei

    C:\Users\Heiko\Desktop\WKS>type l3.py

    C:\Users\Heiko\Desktop\WKS>
    Quote Quote  
  19. I got WKS-KEYS again.

    Now when I want to start l3.py, I get this error:
    (env) C:\Users\Heiko\Desktop\WKS>C:\Users\Heiko\Desktop\ WKS\l3.py
    Traceback (most recent call last):
    File "C:\Users\Heiko\Desktop\WKS\l3.py", line 9, in <module>
    from pywidevine.L3.cdm import cdm, deviceconfig
    ModuleNotFoundError: No module named 'pywidevine.L3'
    Quote Quote  
  20. Originally Posted by Data2006 View Post
    I got WKS-KEYS again.

    Now when I want to start l3.py, I get this error:
    (env) C:\Users\Heiko\Desktop\WKS>C:\Users\Heiko\Desktop\ WKS\l3.py
    Traceback (most recent call last):
    File "C:\Users\Heiko\Desktop\WKS\l3.py", line 9, in <module>
    from pywidevine.L3.cdm import cdm, deviceconfig
    ModuleNotFoundError: No module named 'pywidevine.L3'
    Just install one by one you missing module and should be fine.
    pip install pywidevine.L3
    Quote Quote  
  21. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    for wks-key
    pip uninstall pywidevine
    pip uninstall protobuf==4.25.1
    pip install protobuf==3.20.3
    Quote Quote  
  22. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by iamghost View Post
    for wks-key
    pip uninstall pywidevine
    pip uninstall protobuf==4.25.1
    pip install protobuf==3.20.3
    NO! Just get the updated version of WKS-KEYS that uses protobuf 4.x.x https://files.videohelp.com/u/301890/WKS-KEYS_L3_correction.zip
    And then do not call the global pywidevine from within the WKS-KEYS folder. Only use that for l3 and other WKS-KEYS configured scripts.
    Scripts that need a pywidevine wvd device location must not be run from within WKS-KEYS. Obey those rules and the two systems sit side by side perfectly well.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  23. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Bumblebeee View Post
    Originally Posted by Data2006 View Post
    I got WKS-KEYS again.

    Now when I want to start l3.py, I get this error:
    (env) C:\Users\Heiko\Desktop\WKS>C:\Users\Heiko\Desktop\ WKS\l3.py
    Traceback (most recent call last):
    File "C:\Users\Heiko\Desktop\WKS\l3.py", line 9, in <module>
    from pywidevine.L3.cdm import cdm, deviceconfig
    ModuleNotFoundError: No module named 'pywidevine.L3'
    Just install one by one you missing module and should be fine.
    pip install pywidevine.L3
    That's a fail. Have you tried it?
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  24. I have the same problem as user Data2006, today and tomorrow I will check if it can be fixed.
    I have a question whether I understand correctly that my own created files device_client_id_blob, device_private_key should be in the android_generic folder? should I also put the .wvd file?
    Is token.bin necessary or can I remove it? can this file be generated?
    Is config.json also necessary?
    Quote Quote  
  25. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by PepeForEver View Post
    I understand correctly that my own created files device_client_id_blob, device_private_key should be in the android_generic folder?
    Yes
    Originally Posted by PepeForEver View Post
    should I also put the .wvd file?
    No. Keep wvd file well away from wks-keys; see above.
    Originally Posted by PepeForEver View Post
    Is token.bin necessary or can I remove it? can this file be generated?
    Is config.json also necessary?
    No not needed.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  26. I have now received different answers.
    Do I have to do all of them?

    Thank you very much,
    Heiko
    Quote Quote  
  27. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Data2006 View Post
    I have now received different answers.
    Do I have to do all of them?
    Can do if you want to mess up again. Some like being perennially helpless.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  28. A_n_g_e_l_a thank you very much for your help ! , something has already started! but I will still have to make a few changes (probably install module/modules)
    Quote Quote  
  29. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by iamghost View Post
    for wks-key
    pip uninstall pywidevine
    pip uninstall protobuf==4.25.1
    pip install protobuf==3.20.3
    NO! Just get the updated version of WKS-KEYS that uses protobuf 4.x.x https://files.videohelp.com/u/301890/WKS-KEYS_L3_correction.zip
    And then do not call the global pywidevine from within the WKS-KEYS folder. Only use that for l3 and other WKS-KEYS configured scripts.
    Scripts that need a pywidevine wvd device location must not be run from within WKS-KEYS. Obey those rules and the two systems sit side by side perfectly well.
    Hello Angela,

    I downloaded the ZIP file and unpacked it. Then I couldn't run l3.py in the terminal:
    Microsoft Windows [Version 10.0.19045.4291]
    (c) Microsoft Corporation. Alle Rechte vorbehalten.

    C:\Users\Heiko>C:\Users\Heiko\Downloads\WKS-KEYS\l3.py
    Traceback (most recent call last):
    File "C:\Users\Heiko\Downloads\WKS-KEYS\l3.py", line 9, in <module>
    from pywidevine.L3.cdm import cdm, deviceconfig
    File "C:\Users\Heiko\Downloads\WKS-KEYS\pywidevine\L3\cdm\cdm.py", line 7, in <module>
    from google.protobuf.message import DecodeError
    ModuleNotFoundError: No module named 'google'

    C:\Users\Heiko>

    I used the command prompt in Windows 10 Pro. Not Powershell!

    Thank you,
    Heiko
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!