problem in running server

50 views
Skip to first unread message

fazal rehman

unread,
Mar 22, 2019, 11:04:54 AM3/22/19
to Django users
(myvenv) C:\cdedjango\src\trydjango>python manage.py runserver
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'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "manage.py", line 14, in <module>
    ) from exc
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?

Scheck David

unread,
Mar 22, 2019, 11:14:05 AM3/22/19
to django...@googlegroups.com
activate your virtual env or pip install Django

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/442fe84e-783b-46bd-82d1-23231766bb25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

With kindest regards,


David SCHECK

PRESIDENT/DEVELOPER

Signature Logo Sphax Bleu-01.png


Phone: +32 4 87 86 70 12
Visit our website ! https://www.sphax.org

fazal rehman

unread,
Mar 22, 2019, 1:20:14 PM3/22/19
to django...@googlegroups.com

Maior Marso

unread,
Mar 23, 2019, 9:40:35 AM3/23/19
to django...@googlegroups.com
do a " pip list " and a python -V to see if Django and python are there.


Reply all
Reply to author
Forward
0 new messages