Python程序启动时报错:
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
Traceback (most recent call last):
File "launchy_wsgi.py", line 12, in <module>
application = launchy.Application(gac.list(), uimodules)
File "*****************", line 48, in list
*********************************
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1184, in extraction_error
raise err
pkg_resources.ExtractionError: Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s)
to the Python egg cache:
[Errno 13] Permission denied: '/root/.cache/Python-Eggs'
The Python egg cache directory is currently set to:
/root/.cache/Python-Eggs
Perhaps your account does not have write access to this directory?
You can change the cache directory by setting the