[GH-ISSUE #59] Requests version is wrong #48

Closed
opened 2026-02-25 20:32:24 +03:00 by kerem · 3 comments
Owner

Originally created by @Jnesselr on GitHub (Apr 11, 2014).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/59

It gives this error:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/asciinema", line 5, in
from pkg_resources import load_entry_point
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2671, in
working_set.require(requires)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 654, in require
needed = self.resolve(parse_requirements(requirements))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 552, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests>=1.1.0

So I install requests. It grabs version 2.2.1. Which is >= 1.1.0... right?

So yeah, that's wrong. Any suggestions?

Originally created by @Jnesselr on GitHub (Apr 11, 2014). Original GitHub issue: https://github.com/asciinema/asciinema/issues/59 It gives this error: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/bin/asciinema", line 5, in <module> from pkg_resources import load_entry_point File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2671, in <module> working_set.require(**requires**) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 654, in require needed = self.resolve(parse_requirements(requirements)) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 552, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: requests>=1.1.0 So I install requests. It grabs version 2.2.1. Which is >= 1.1.0... right? So yeah, that's wrong. Any suggestions?
kerem closed this issue 2026-02-25 20:32:24 +03:00
Author
Owner

@jakubjedelsky commented on GitHub (Apr 11, 2014):

There is requirement requests >=1.1.0, <=1.2.3 in setup.py .. that can be a problem. I vote for supporting highest versions.

<!-- gh-comment-id:40180006 --> @jakubjedelsky commented on GitHub (Apr 11, 2014): There is requirement `requests >=1.1.0, <=1.2.3` in setup.py .. that can be a problem. I vote for supporting highest versions.
Author
Owner

@Jnesselr commented on GitHub (Apr 11, 2014):

Ah, I see. It should at least say for all things if your version is too high or what the max version is.

<!-- gh-comment-id:40180097 --> @Jnesselr commented on GitHub (Apr 11, 2014): Ah, I see. It should at least say for all things if your version is too high or what the max version is.
Author
Owner

@Firef0x commented on GitHub (Jun 19, 2014):

Asciinema didn't work with Python 3.4 and Python-request 1.2.3, it really bothered the Arch Linux users. However, it works in the latest commit github.com/sickill/asciinema@b74bd3d2ee with Python 3.4 and Python-request 2.3 in Arch Linux. So I think it's time to close this issue.

<!-- gh-comment-id:46610312 --> @Firef0x commented on GitHub (Jun 19, 2014): Asciinema didn't work with Python 3.4 and Python-request 1.2.3, it really bothered the Arch Linux users. However, it works in the latest commit https://github.com/sickill/asciinema/commit/b74bd3d2eed33cc10e319dd785efd2e86b337051 with Python 3.4 and Python-request 2.3 in Arch Linux. So I think it's time to close this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#48
No description provided.