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

Manula Thantriwatte manulachathurika at gmail.com
Wed Jul 17 05:37:31 UTC 2019


Hi Ruslanas,

Thank you very much. I'll try this option as well and let you know.

Thanks !

On Tue, Jul 16, 2019 at 4:30 PM Ruslanas Gžibovskis <ruslanas at lpic.lt>
wrote:

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


-- 
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/20190717/92743f74/attachment.html>


More information about the openstack-discuss mailing list