Когда я запускаю tests
(в среде pycharm
), я получаю ошибку ModuleNotFoundError: Нет модуля с именем 'django' .Django installed (2.2.5)
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/loader.py", line 153, in loadTestsFromName
module = __import__(module_name)
File "/home/m0nte-cr1st0/projects/slack_bot/tests.py", line 4, in <module>
from app.models import *
File "/home/m0nte-cr1st0/projects/slack_bot/app/models.py", line 1, in <module>
from django.db import models
ModuleNotFoundError: No module named 'django'