(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.
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 usingbrew install
but it doesn't know aboutrequests
. — Tried installingpython-requests
per suggestion by brew but apparently it's not the same, as I later get this error:(2)
ModuleNotFoundError: No module named 'tqdm'
— Same problem as withrequests
, aboveI already tried deleting the installation and starting over — same problems.
How can I fix this and proceed?