Mac OS X Mavericks installation problem: pkg_resources.DistributionNotFound: pillow

170 views
Skip to first unread message

Brian Durney

unread,
Sep 12, 2015, 6:41:18 PM9/12/15
to Evennia
I followed the Getting Started instructions for Mac OS X, which refer to the instructions for Linux.  Everything worked until I got to the part about initializing a game.  Then I got the following error:

(pyenv)GameDev$ evennia --init World1
Traceback (most recent call last):
  File "/usr/local/bin/evennia", line 4, in <module>
    from pkg_resources import require; require('evennia==0.5.0')
  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: pillow
(pyenv)GameDev$ 

Unfortunately I don't have the output from the Evennia setup, but I'm pretty sure that it installed Pillow successfully, along with Django, Twisted, etc.  Can anyone help me with this problem?

Thanks,
Brian Durney

Adam Foster

unread,
Feb 7, 2016, 5:43:15 PM2/7/16
to Evennia
I know this is a fairly old post so I'm not sure if I should be replying to it, but I spent quite a while banging my head against this problem, so I figured I'd post my solution in case it helps someone else.

In my case I was getting this error but for pytz instead of pillow. Long story short, I had an old version of setuptools which was stopping this working. Running "pip install --upgrade setuptools" resolved the issue.

Brian Durney

unread,
Mar 17, 2016, 10:30:57 PM3/17/16
to Evennia
Thanks for responding.  After updating to El Capitan, it worked.  Now I'm getting grief installing on an Ubuntu box, but that's a separate post...
Reply all
Reply to author
Forward
0 new messages