areski / django-nvd3

Django wrapper for nvd3 - It's time for beautiful charts
Other
416 stars 124 forks source link

django.template.library.InvalidTemplateLibrary #77

Open SummerSeaSun opened 8 years ago

SummerSeaSun commented 8 years ago

This error is reported when trying to request the url of a simple view:

InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'django_nvd3.templatetags.nvd3_tags': cannot import name Environment

django.template.library.InvalidTemplateLibrary

I've installed django-nvd3, added to project settings in the installed_app and copied demo_scatterchart(request) in the view. I've looked in nvd3_tags.py but nothing like Environment seems to be called for import.

Thanks in advance, BR

Mibou commented 7 years ago

Same problem here. Did you find any clue?

Update : Managed to get it working deleting the whole virtual environment and reinstalling all python packets from scratch.