graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05969
Re: [Question #280891]: Issue configuring graphite db
Question #280891 on Graphite changed:
https://answers.launchpad.net/graphite/+question/280891
Status: Open => Answered
Kieran Girvan proposed the following answer:
Can you confirm that Django 1.4 is now in use and not the earlier
installed version. Run this to confirm which version is now in use:
[graphite@ip-172-30-1-164 ~]$ python
Python 2.7.5 (default, Oct 11 2015, 17:47:16)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> django.VERSION
(1, 4, 0, 'final', 0)
I had a similar issue in that I installed Django version 1.9, tried to
install 1.4 but the installer failed as a later version was available.
I followed these steps to uninstall Django 1.9 after which I installed
version 1.4:
------------------------------------------------------------------------------------------------------------------------------------
Use Python shell to find out the path of Django:
>>> import django
>>> django
<module 'django' from '/usr/local/lib/python2.7/dist-packages/django/__init__.pyc'>
Then remove it manually:
sudo rm -rf /usr/local/lib/python2.7/dist-packages/django/
------------------------------------------------------------------------------------------------------------------------------------
Please note - these steps were not mine but worked for me.
I hope this help.
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.