osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImportError: No module named django.core.wsgi - DevStack - Stable/Stein - Ubuntu 18.04


Hi All,

I have successfully install DevStack in Ubuntu 18.04. But when I'm
accessing the dashboard I'm getting 500 error. What I'm getting
in horizon_error.log is,

2019-07-15 14:10:43.218296 mod_wsgi (pid=31763): Target WSGI script
'/opt/stack/horizon/openstack_dashboard/wsgi.py' cannot be loaded as Python
module.
2019-07-15 14:10:43.218323 mod_wsgi (pid=31763): Exception occurred
processing WSGI script '/opt/stack/horizon/openstack_dashboard/wsgi.py'.
2019-07-15 14:10:43.218349 Traceback (most recent call last):
2019-07-15 14:10:43.218370   File
"/opt/stack/horizon/openstack_dashboard/wsgi.py", line 21, in <module>
2019-07-15 14:10:43.218401     from django.core.wsgi import
get_wsgi_application
2019-07-15 14:10:43.218422 ImportError: No module named django.core.wsgi

Python Version is : 3.6.8
Django version is : 2.0.5

I tried with uninstalling Djanago and reinstalling it. But it didn't work
for me.

Can someone help me on how to resole this issue ?

Thanks !
-- 
Regards,
Manula Chathurika Thantriwatte
phone : (+94) 772492511
email : manulachathurika at gmail.com
Linkedin : *http://lk.linkedin.com/in/manulachathurika
<http://lk.linkedin.com/in/manulachathurika>*
blog : http://manulachathurika.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190716/c70d0ece/attachment.html>