Python中国社区  »  Django

部署django时遇到的问题

财龟龟 • 1 周前 • 49 次点击  

[Wed Dec 06 16:32:14 2017] [notice] Apache/2.2.15 (Unix) DAV/2 mod_wsgi/4.5.7 Python/3.5 PHP/5.6.32 configured -- resuming normal operations [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] mod_wsgi (pid=13946): Target WSGI script '/var/www/ShopMonitor/ShopMonitor/wsgi.py' cannot be loaded as Python module. [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] mod_wsgi (pid=13946): Exception occurred processing WSGI script '/var/www/ShopMonitor/ShopMonitor/wsgi.py'. [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] Traceback (most recent call last): [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] File "/var/www/ShopMonitor/ShopMonitor/wsgi.py", line 16, in <module> [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] from django.core.wsgi import get_wsgi_application [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] File "/usr/local/python3/lib/python3.5/site-packages/django/init.py", line 1, in <module> [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] from django.utils.version import get_version [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] File "/usr/local/python3/lib/python3.5/site-packages/django/utils/version.py", line 1, in <module> [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] import datetime [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] File "/usr/local/python3/lib/python3.5/datetime.py", line 8, in <module> [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] import math as _math [Wed Dec 06 16:32:27 2017] [error] [client 192.168.1.101] ImportError: /usr/local/python3/lib/python3.5/lib-dynload/math.cpython-35m-x86_64-linux-gnu.so: failed to map segment from shared object: Permission denied

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/4457
 
49 次点击  
分享到微博
分享
社区所有版块导航
Python
python开源   Python   DjangoApp   pycharm   Django  
DATA
Elasticsearch   docker  
WEB开发
linux   MongoDB   bottle   tornado   Redis   NoSql   IE   DATABASE   MQ   Bootstrap   NGINX   js   其他Web框架   Jquery   peewee   web工具   Git   zookeeper  
机器学习
机器学习算法  
Python88.com
社区推广   反馈   公告