Closed zdavatz closed 1 year ago
Hi @zdavatz
It doesn't look like the 2.28.1 version was removed or revoked (https://github.com/psf/requests/releases/tag/v2.28.1). I just installed it in a Linux 3.10.6 virtual environment without any issues.
1) What version of Python are you using? 2) Are you using a virtual environment? 3) Maybe it's a pip cache issue (see https://linuxhint.com/pip-clear-cache/)? It's not showing 2.28.2 (which is the latest) in your output as a valid candidate either.
It doesn't look like the 2.28.1 version was removed or revoked (https://github.com/psf/requests/releases/tag/v2.28.1). I just installed it in a Linux 3.10.6 virtual environment without any issues.
- What version of Python are you using?
Python 3.6.8
- Are you using a virtual environment?
Yes, as mentioned in the how-to.
- Maybe it's a pip cache issue (see https://linuxhint.com/pip-clear-cache/)? It's not showing 2.28.2 (which is the latest) in your output as a valid candidate either.
Which command shall I issue?
Doing these steps:
virtualenv -p python3 .venv
source .venv/bin/activate
pip install -r requirements.txt
Same problem with Python 3.9:
Looks like they removed support for Python 3.6 in version 2.28.0 https://github.com/psf/requests/blob/main/HISTORY.md#2281-2022-06-29
That doesn't explain your 3.9 issue though. Short term, you could downgrade the requests
version in the requirements.txt
file until you find one that works.
Downgrade to which version?
Based off your screenshot, you could try 2.27.1
This worked! 🙏 Where is the installed executable now? My ~/.local/bin
does not exist.
Great! It doesn't create a binary. You should be able to run this in your Python virtual environment:
python metagoofil.py -h
this worked, thank you!
pip install -r requirements.txt