k0rnh0li0 / onlyfans-dl

OnlyFans content downloader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import requests failed even tho it's installed.

glewiswp opened this issue · comments

Results of pip list

Package            Version
------------------ ---------
certifi            2021.5.30
charset-normalizer 2.0.4
idna               3.2
pip                21.2.2
requests           2.26.0
setuptools         57.0.0
urllib3            1.26.6
wheel              0.36.2

Both python and pip installed via Brew.

Python path:

/Library/Frameworks/Python.framework/Versions/3.9/bin/python3

Pip path:

/Library/Frameworks/Python.framework/Versions/3.9/bin/pip

When I run ./onlyfans-dl.py <username> I am only ever getting the following error, even tho requests is clearly installed. I've followed your README.md instructions, but cannot get around this error:

raceback (most recent call last):
  File "./onlyfans-dl.py", line 16, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

I've checked the other issues with the same errors, but none of them have a working solution.

Try

python -m onlyfans-dl <username>