← Back to team overview

graphite-dev team mailing list archive

Re: [Question #662391]: Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module

 

Question #662391 on Graphite changed:
https://answers.launchpad.net/graphite/+question/662391

Aurimas Plunge posted a new comment:
With my limited knowledge there is no stupid questions :)

Where do I set this WSGIPythonPath variable?

I think its definitely issue with paths, but no idea there 
 
For example then I do this I can successfully load django.conf :

PYTHONPATH=/opt/graphite/webapp django-admin.py shell
--settings=graphite.settings

Python 2.7.5 (default, May  3 2017, 07:55:04) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-14)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.conf import settings
>>>

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.