ModuleNotFoundError: No module named 'django_filters'

1,817 views
Skip to first unread message

wafi mameri

unread,
Mar 11, 2020, 3:01:52 PM3/11/20
to django-filter
Please help me 


INSTALLED_APPS = [
    
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
....
    'django_filters',
]

and requirements.txt


asgiref==3.2.3
astroid==2.3.3
atomicwrites==1.3.0
attrs==19.3.0
certifi==2019.9.11
chardet==3.0.4
colorama==0.4.3
coverage==4.5.4
dj-database-url==0.5.0
Django==3.0.3
django-bootstrap-modal-forms==1.5.0
django-braces==1.14.0
django-coverage==1.2.4
django-crispy-forms==1.8.0
django-debug-toolbar==2.1
django-filter==2.2.0
django-heroku==0.3.1
django-model-utils==4.0.0
django-nose==1.4.6
django-star-ratings==0.9.1
djangorestframework==3.11.0
gunicorn==20.0.4
heroku==0.1.4
idna==2.8
importlib-metadata==0.23
isort==4.3.21
lazy-object-proxy==1.4.3
mccabe==0.6.1
mock==3.0.5
more-itertools==7.2.0
nose==1.3.7
packaging==19.2
Pillow==6.2.1
pluggy==0.13.1
psycopg2==2.8.4
py==1.8.0
Pygments==2.6.1
pylint==2.4.4
pyparsing==2.4.5
pytest==5.3.1
python-dateutil==1.5
pytz==2019.3
requests==2.22.0
requests-mock==1.7.0
selenium==3.141.0
six==1.13.0
sqlparse==0.3.0
swapper==1.1.2.post1
typed-ast==1.4.0
urllib3==1.25.7
utils==0.9.0
wcwidth==0.1.7
whitenoise==4.1.4
wrapt==1.11.2
zipp==0.6.0


Someone can help me find a solution plz.

Gonzalo Amadio

unread,
Mar 11, 2020, 6:07:22 PM3/11/20
to django...@googlegroups.com
it is not in requirements.. have you installed it??

pip install django-filter

Are you inside the virtual environment? if you have created one.
execute this command and check if django_filter is there
pip freeze

--
You received this message because you are subscribed to the Google Groups "django-filter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-filte...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-filter/6f419df6-e704-423e-8948-e0bb430212c0%40googlegroups.com.


--
--------
Gonzalo Amadio

wafi mameri

unread,
Mar 11, 2020, 6:19:54 PM3/11/20
to django-filter
Thnx lot,  I've solved the problem by reinstalling a new virtualenv 


To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.


--
--------
Gonzalo Amadio
Reply all
Reply to author
Forward
0 new messages