1
我試圖從這裏安裝django數據庫日誌https://github.com/dcramer/django-db-log,通過運行python setup.py install
,但由於某種原因,當我將應用程序添加到settings.py文件時,它不起作用。這裏是我得到的錯誤:安裝django數據庫日誌
Request Method: GET
Request URL: http://localhost:8000/admin/
Django Version: 1.3.1
Exception Type: ImportError
Exception Value:
cannot import name Paginator
Exception Location: /Library/Python/2.6/site-packages/django/utils/importlib.py in import_module, line 35
Python Executable: /usr/bin/python
Python Version: 2.6.1
Python Path:
['/Users/christopherfarm/Desktop/ecomstore',
'/Library/Python/2.6/site-packages/python_dateutil-1.5-py2.6.egg',
'/Library/Python/2.6/site-packages/MySQL_python-1.2.3-py2.6-macosx-10.6-universal.egg',
'/Library/Python/2.6/site-packages/django_db_log-2.2.1-py2.6.egg',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
'/Library/Python/2.6/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']
Server time:
有沒有辦法,我仍然可以安裝它? – locoboy
@ cfarm54:要麼使用較老的Django版本,要麼嘗試修復它,以便與較新的Django配合使用。但是,我認爲你應該試試django-sentry。你也可以問作者這個項目被放棄的原因是什麼。 – plaes