ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
https://stackoverflow.com/questions/46210934/importerror-couldnt-import-django
ImportError: Couldn't import Django
I've already configured virtualenv in pycharm, when using the python manage.py command, this is error shown: E:\video course\Python\code\web_worker\MxOnline>python manage.py runserver Traceback...
stackoverflow.com
>> Django 를 이용 경로에 설치하지 않아서 나타나는 문제다.
pip install Django
django.db.utils.OperationalError: no such table: auth_user
https://stackoverflow.com/questions/24682155/user-registration-with-error-no-such-table-auth-user
User Registration with error: no such table: auth_user
I am trying to use Django's default Auth to handle register and log in. setting.py: INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', '
stackoverflow.com
>> 마이그레이트를 안하고 superuser를 생성해서 나타나는 문제다.
python manage.py migrate
'IT > Python' 카테고리의 다른 글
| python django runserver 파이참에서 바로 실행하기 (0) | 2022.05.05 |
|---|---|
| 파이참 오류 (0) | 2022.04.22 |
| Python 에서 Dynamic SQL 작성 방법 가이드 링크 (0) | 2020.06.12 |