My memo.
pip install according to the word importlib is missing
$ sudo pip install importlib Requirement already satisfied (use --upgrade to upgrade): importlib in /usr/local/lib/python2.7/site-packages Cleaning up...
It is said that there is. I found some information while wandering on stackoverflow. Apparently, it seems to be an error that appears when site-packages is not included in python-path. It just didn't pass ...
So edit virtualhost-example.com.conf.
<VirtualHost *:80≶ Pass the path to # site-packages and wsgi.py WSGIDaemonProcess example.com python-path=/your/python/site-packages:/home/user/example.com </VirtualHost≶
$ sudo apachectl graceful
It works safely.
Recommended Posts