Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a version that satisfies the requirement requests-html #241

Closed
T-baby opened this issue Nov 20, 2018 · 5 comments
Closed

Comments

@T-baby
Copy link

T-baby commented Nov 20, 2018

Could not find a version that satisfies the requirement requests-html==0.9.0 (from -r requirements.txt (line 32)) (from versions: 0.0.1, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6)
No matching distribution found for requests-html==0.9.0 (from -r requirements.txt (line 32))

What should I do?

@T-baby T-baby changed the title Could not find a version that satisfies the requirement requests-htm Could not find a version that satisfies the requirement requests-html Nov 20, 2018
@Sarcastic-Pharm
Copy link
Contributor

I'm assuming you're getting this from trying to install another library that depends on requests-html?

0.9.0 is the current version on PyPI. On a terminal/command prompt run:

python -m pip install -U requests-html

Then try to do whatever gave you that error again.

@T-baby
Copy link
Author

T-baby commented Nov 20, 2018

I run the following command:

pip install -r requirements.txt
appdirs==1.4.3
arrow==0.12.1
asn1crypto==0.24.0
beautifulsoup4==4.6.3
bs4==0.0.1
certifi==2018.10.15
cffi==1.11.5
chardet==3.0.4
Click==7.0
cryptography==2.4.1
cssselect==1.0.3
fake-useragent==0.1.11
Flask==1.0.2
Flask-Caching==1.4.0
Flask-Cors==3.0.7
Flask-SQLAlchemy==2.3.2
idna==2.7
itsdangerous==1.1.0
Jinja2==2.10
lxml==4.2.5
MarkupSafe==1.1.0
parse==1.9.0
pip==18.1
pycparser==2.19
pyee==5.0.0
PyMySQL==0.9.2
pyppeteer==0.0.25
pyquery==1.4.0
python-dateutil==2.7.5
redis==3.0.1
requests==2.20.1
requests-html==0.9.0
setuptools==40.6.2
six==1.11.0
SQLAlchemy==1.2.14
tqdm==4.28.1
urllib3==1.24.1
w3lib==1.19.0
websockets==7.0
Werkzeug==0.14.1
kafka-python==1.4.3
safety==1.8.4

@Sarcastic-Pharm
Copy link
Contributor

You're running an incompatible version of python. I was able to replicate your error running
pip install requests-html==0.9.0

On python 3.5.2.

Upgrade to python 3.6.x or above.

@T-baby T-baby closed this as completed Nov 22, 2018
@alieerdem
Copy link

alieerdem commented Oct 18, 2019

i've got a similar problem while trying to download robot-framework, then i downloaded python3 using homebrew and problem is solved. the code i used to install python3: brew install python3

@vvksharrma
Copy link

vvksharrma commented Aug 18, 2020

i had the latest version of python but my pip version was old...so try updating you pip version using command "python -m pip install --upgrade pip" or you can try this command without updating pip "pip install requests-html==0.9.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants