jo1gi / audiobook-dl

Audiobook CLI downloader
GNU General Public License v3.0
191 stars 32 forks source link

Audiobooks.com > No module named 'urllib3.packages.six.moves' #102

Open CeliaMerino opened 2 months ago

CeliaMerino commented 2 months ago

Installation method: github repo

Version: Python 3.12.3 audiobook-dl 0.7.3

Describe the bug hi! i've been trying to use the app but i get the error "No module named 'urllib3.packages.six.moves'" when i download from audiobooks.com I tried to uninstall and reinstall urllib3, six & requests packages and also tried to downgrade the python version but none of that worked

Command output Traceback (most recent call last): File "/opt/homebrew/bin/audiobook-dl", line 33, in sys.exit(load_entry_point('audiobook-dl==0.7.3', 'console_scripts', 'audiobook-dl')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/bin/audiobook-dl", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/init.py", line 205, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1310, in _find_and_load_unlocked File "", line 488, in _call_with_frames_removed File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "/opt/homebrew/lib/python3.12/site-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/init.py", line 2, in File "/opt/homebrew/lib/python3.12/site-packages/audiobook_dl-0.7.3-py3.12.egg/audiobookdl/utils/audiobook.py", line 2, in File "/opt/homebrew/lib/python3.12/site-packages/requests/init.py", line 43, in import urllib3 File "/opt/homebrew/lib/python3.12/site-packages/urllib3/init.py", line 8, in from .connectionpool import ( File "/opt/homebrew/lib/python3.12/site-packages/urllib3/connectionpool.py", line 11, in from .exceptions import ( File "/opt/homebrew/lib/python3.12/site-packages/urllib3/exceptions.py", line 2, in from .packages.six.moves.http_client import ( ModuleNotFoundError: No module named 'urllib3.packages.six.moves'

jo1gi commented 1 month ago

Looks like it is a problem with python 3.12