14
Сен
2017

Не импортируется Django

Не импортируется Django . Вот ошибка:

    File "manage.py", line 17, in <module>
        "Couldn't import Django. Are you sure it's installed and "
    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?
Полная ошибка:
Traceback (most recent call last):
  File "manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 14, in <module>
    import django
ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 17, in <module>
    "Couldn't import Django. Are you sure it's installed and "
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?

P.S Скачал я джанго с помощью pip install django,до этого я скачал virtualenv и virtualenvwadder.

Источник: https://ru.stackoverflow.com/questions/718419/%D0%9D%D0%B5-%D0%B8%D0%BC%D0%BF%D0%BE%D1%80%D1%82%D0%B8%D1%80%D1%83%D0%B5%D1%82%D1%81%D1%8F-django

Share

Тебе может это понравится...