MiniGlome / Archive.org-Downloader

Python3 script to download archive.org books in PDF format
934 stars 124 forks source link

ModuleNotFoundError #118

Open mrobe opened 5 months ago

mrobe commented 5 months ago

This script was working well, but then stopped.

(1) ModuleNotFoundError: No module named 'requests'

— I tried to re-run pip install -r requirements.txt but got the error: This environment is externally managed. — Tried using brew install but it doesn't know about requests. — Tried installing python-requests per suggestion by brew but apparently it's not the same, as I later get this error:

    session = login(email, password)
              ^^^^^^^^^^^^^^^^^^^^^^
[...]
    session = requests.Session()
              ^^^^^^^^^^^^^^^^
AttributeError: module 'requests' has no attribute 'Session'

(2) ModuleNotFoundError: No module named 'tqdm' — Same problem as with requests, above

I already tried deleting the installation and starting over — same problems.

How can I fix this and proceed?

mrobe commented 3 months ago

Bump. Hello?

kgoldmann commented 2 months ago

Same issue.