[GH-ISSUE #60] asciinema rec DistributionNotFound on Mac 10.9 #46

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

Originally created by @ronaldpetty on GitHub (Apr 25, 2014).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/60

Hello,

I am attempting to get 'asciinema rec' going on a new laptop:

  • mac 10.9.2
  • xcode xcode 5.1.1 w/cli
  • python '2.7.5 (default, Sep 12 2013, 21:33:34) \n[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]'

I am seeing the following:

asciinema rec
Traceback (most recent call last):
File "/usr/local/bin/asciinema", line 5, in
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in
working_set.require(requires)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: requests>=1.1.0

Any thoughts? Love the idea, keep up the good work.

Regards.

Ron

Originally created by @ronaldpetty on GitHub (Apr 25, 2014). Original GitHub issue: https://github.com/asciinema/asciinema/issues/60 Hello, I am attempting to get 'asciinema rec' going on a new laptop: - mac 10.9.2 - xcode xcode 5.1.1 w/cli - python '2.7.5 (default, Sep 12 2013, 21:33:34) \n[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]' I am seeing the following: asciinema rec Traceback (most recent call last): File "/usr/local/bin/asciinema", line 5, in <module> from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module> working_set.require(**requires**) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: requests>=1.1.0 Any thoughts? Love the idea, keep up the good work. Regards. Ron
kerem closed this issue 2026-02-25 20:32:24 +03:00
Author
Owner

@ronaldpetty commented on GitHub (Apr 25, 2014):

sudo easy_install --upgrade requests

seems to fix it. I had assumed (incorrectly)

sudo easy_install --upgrade pip

would have been enough.

<!-- gh-comment-id:41438601 --> @ronaldpetty commented on GitHub (Apr 25, 2014): sudo easy_install --upgrade requests seems to fix it. I had assumed (incorrectly) sudo easy_install --upgrade pip would have been enough.
Author
Owner

@Mikulas commented on GitHub (Jun 25, 2014):

👍 Thanks, this indeed does fix the error.

<!-- gh-comment-id:47110044 --> @Mikulas commented on GitHub (Jun 25, 2014): :+1: Thanks, this indeed does fix the error.
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#46
No description provided.