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

Ruslanas Gžibovskis ruslanas at lpic.lt
Tue Jul 16 10:59:48 UTC 2019


I had something similar, try reinstalling python from OSP repo, not common,
as it rewrites some python lib file... at least it helped me.

On Tue, 16 Jul 2019 at 12:05, Manula Thantriwatte <
manulachathurika at gmail.com> wrote:

> 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/
>
>

-- 
Ruslanas Gžibovskis
+370 6030 7030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190716/9aea1c5c/attachment.html>


More information about the openstack-discuss mailing list