Forums

ModuleNotFoundError: No module named 'jquery'

I am Trying to deploy django app with vitual env but i got the following error each time Traceback (most recent call last):

File "/home/maiada/.local/lib/python3.9/site-packages/django/core/management/init.py", line 419, in execute_from_command_line utility.execute() File "/home/maiada/.local/lib/python3.9/site-packages/django/core/management/init.py", line 395, in execute django.setup() File "/home/maiada/.local/lib/python3.9/site-packages/django/init.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/home/maiada/.local/lib/python3.9/site-packages/django/apps/registry.py", line 91, in populate app_config = AppConfig.create(entry) File "/home/maiada/.local/lib/python3.9/site-packages/django/apps/config.py", line 224, in create import_module(entry) File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked ModuleNotFoundError: No module named 'jquery'

You need to install the package that provides the jquery module that you're trying to import.

It's explained in https://help.pythonanywhere.com/pages/InstallingNewModules

Note the distinction between virtualenv's and other cases.