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
+ Reply to Thread
Results 1 to 30 of 92
-
-
Exactly what the error message says: you don't have the "google" module installed. Simply a missing dependency.
-
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 -
if you had installed python.exe and add it to system path, then you can use pip in windows, totally same as in linux.
-
Code:
python -m pip help
-
Code:
python -m pip install google-api-python-client
Code:python3 -m pip install google-api-python-client
Code:python -m venv venv
Code:python3 -m venv venv
Code:venv\Scripts\pip.exe install google-api-python-client
Code:venv\Scripts\python.exe -m pip install google-api-python-client
-
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 -
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> -
C:\Users\Heiko>venv\Scripts\python.exe C:\Users\Heiko\Downloads\WKS-KEYS\l3.py
C:\Users\Heiko>
Nothing happens. -
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 -
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. -
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> -
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' -
-
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 -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
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? -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
I have now received different answers.
Do I have to do all of them?
Thank you very much,
Heiko -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
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)
-
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
Similar Threads
-
Beyond WKS-KEYS
By A_n_g_e_l_a in forum Video Streaming DownloadingReplies: 126Last Post: 22nd Nov 2024, 12:44 -
wks-keys giving out wrong keys
By swappyison in forum Video Streaming DownloadingReplies: 21Last Post: 6th Aug 2023, 12:03 -
wks-keys or TPD-Keys cmd.exe errors
By euphonic in forum Video Streaming DownloadingReplies: 1Last Post: 25th Jun 2023, 14:24 -
WKS-KEYS help
By Gruchemuche in forum Video Streaming DownloadingReplies: 1Last Post: 2nd Oct 2022, 08:55 -
Wks-keys
By Fjullekulle in forum Video Streaming DownloadingReplies: 10Last Post: 12th Jul 2022, 04:01