IOError: [Errno 13] file not accessible after install setuptools

577 views
Skip to first unread message

coto

unread,
Aug 3, 2012, 5:07:10 PM8/3/12
to google-a...@googlegroups.com
I installed setuptools on my Macbook Pro Mountain Lion, and Babel with Jinja2 in order to run Babel locally.

$ sh setuptools-0.6c11-py2.7.egg --prefix=~ --install-dir=/Library/Python/2.7/site-packages/
$ easy_install babel jinja2

After install those packages, I have this warning per any request:

WARNING  2012-08-03 20:56:32,586 py_zipimport.py:139] Can't open zipfile /Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg: IOError: [Errno 13] file not accessible: '/Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg'


But after 2 minutes with any request I have this error and I have to restart the application

INFO     2012-08-03 21:00:50,713 py_zipimport.py:148] zipimporter('/Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg', '')
ERROR    2012-08-03 21:00:51,061 wsgi.py:189] 
Traceback (most recent call last):
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 187, in Handle
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 225, in _LoadHandler
    handler = __import__(path[0])
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_import_hook.py", line 676, in Decorate
    return func(self, *args, **kwargs)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_import_hook.py", line 1858, in load_module
...
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_import_hook.py", line 592, in __init__
    raise IOError(errno.EACCES, 'file not accessible', filename)
IOError: [Errno 13] file not accessible: '/Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg'
INFO     2012-08-03 21:01:11,506 dev_appserver.py:2952] "GET / HTTP/1.0" 500 -

alex

unread,
Aug 4, 2012, 3:12:20 AM8/4/12
to google-a...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages