Slyyxp / rsack

Ransack「rsack」is a lossless Korean music downloader
MIT License
84 stars 12 forks source link

no module named "cryptodome" #81

Closed countthesaints closed 1 year ago

countthesaints commented 1 year ago

I recently ran pip3 install --upgrade rsack as I noticed there were changes here and now get this error any time I try to download something from Bugs

Tessellate:~ kenji$ rsack -u https://music.bugs.co.kr/album/4083156 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/bin/rsack", line 5, in from rsack.main import main File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/rsack/main.py", line 6, in from rsack import bugs, genie, kkbox File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/rsack/kkbox.py", line 7, in from rsack.clients.kkbox import KkboxAPI File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/rsack/clients/kkbox.py", line 6, in from Cryptodome.Cipher import ARC4 ModuleNotFoundError: No module named 'Cryptodome'

I'm not quite sure what's happened as I downloaded music fine last week.

Slyyxp commented 1 year ago

https://pycryptodome.readthedocs.io/en/latest/src/installation.html

$ pip install pycryptodome
Slyyxp commented 1 year ago

Now included in setup.py https://github.com/Slyyxp/rsack/commit/a9d2502d710a75c56f687378a9bfdeb96b453d54

countthesaints commented 1 year ago

should note that it required

$ pip install pycryptodomex

and not

$ pip install pycryptodome