WHTJEON / narrowvine-reborn

The Ultimate Widevine Content Ripper (KEY Extract + Download + Decrypt) is REBORN
117 stars 105 forks source link

problem with cdmapi #8

Closed mujehoxe closed 3 years ago

mujehoxe commented 3 years ago
python narrowvine_reborn.py
Traceback (most recent call last):
  File "/ext/Downloads/narrowvine-reborn-master/narrowvine_reborn.py", line 3, in <module>
    from pywidevine.decrypt.wvdecrypt import WvDecrypt
  File "/ext/Downloads/narrowvine-reborn-master/pywidevine/decrypt/wvdecrypt.py", line 6, in <module>
    from pywidevine.cdm import cdm, deviceconfig
  File "/ext/Downloads/narrowvine-reborn-master/pywidevine/cdm/cdm.py", line 22, in <module>
    from pywidevine.cdm import cdmapi
ImportError: cannot import name 'cdmapi' from 'pywidevine.cdm' (/ext/Downloads/narrowvine-reborn-master/pywidevine/cdm/__init__.py)

also when i consulted, i found init.py to be completely empty using linux

KiaN2020 commented 3 years ago
python narrowvine_reborn.py
Traceback (most recent call last):
  File "/ext/Downloads/narrowvine-reborn-master/narrowvine_reborn.py", line 3, in <module>
    from pywidevine.decrypt.wvdecrypt import WvDecrypt
  File "/ext/Downloads/narrowvine-reborn-master/pywidevine/decrypt/wvdecrypt.py", line 6, in <module>
    from pywidevine.cdm import cdm, deviceconfig
  File "/ext/Downloads/narrowvine-reborn-master/pywidevine/cdm/cdm.py", line 22, in <module>
    from pywidevine.cdm import cdmapi
ImportError: cannot import name 'cdmapi' from 'pywidevine.cdm' (/ext/Downloads/narrowvine-reborn-master/pywidevine/cdm/__init__.py)

also when i consulted, i found init.py to be completely empty using linux

on macOS go to narrowvine-reborn / pywidevine / cdm and just rename cdmapi.cpython-37m-darwin.so to cdmapi.so

on Linux try the above or you might need to change cdmapi.cpython-36m-x86_64-linux-gnu.so to cdmapi.so