Discussion:
I can't start django
epic christ
2018-11-16 15:25:05 UTC
Permalink
(myvenv) epiczed00s-MacBook-Air:mysite epiczed00$ python3 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?

(myvenv) epiczed00s-MacBook-Air:mysite epiczed00$





I get this error, and as you can see I already have virtual enviroment.
Django worked before but recently this appeared to me. I don't know what
this means, I testted everything.
--
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/4188fd59-c008-4915-8386-bbe701de3e98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Akash Purandare
2018-11-16 17:57:43 UTC
Permalink
Can you show the output of pip freeze in your virtual environment?
--
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/72a96826-4c1c-474b-afc7-2facf4a1e338%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ansh Srivastava
2018-11-16 19:59:07 UTC
Permalink
I think you forgot to mention the following:
pip install django==2.1.3


[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
11/17/18,
1:27:53 AM
Post by Akash Purandare
Can you show the output of pip freeze in your virtual environment?
--
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
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/72a96826-4c1c-474b-afc7-2facf4a1e338%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.
--
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/CAHMQ530DJS_%2BrypqisGhBicPsyf%3DV%2Bs4unBJB5cEi3JrZP-hzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
epic christ
2018-11-17 19:20:04 UTC
Permalink
i have the latest django

Den fre 16 nov. 2018 kl 20:59 skrev Ansh Srivastava <
Post by Ansh Srivastava
pip install django==2.1.3
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> 11/17/18,
1:27:53 AM
Post by Akash Purandare
Can you show the output of pip freeze in your virtual environment?
--
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
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/72a96826-4c1c-474b-afc7-2facf4a1e338%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.
--
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
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/CAHMQ530DJS_%2BrypqisGhBicPsyf%3DV%2Bs4unBJB5cEi3JrZP-hzQ%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CAHMQ530DJS_%2BrypqisGhBicPsyf%3DV%2Bs4unBJB5cEi3JrZP-hzQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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/CAC0La-02BCv9H9az17h2qzJ8zZUF%2BYrG1e%2BUpSWEgq0OKd0aoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
epic christ
2018-11-17 19:20:18 UTC
Permalink
what do you mean?
Post by Akash Purandare
Can you show the output of pip freeze in your virtual environment?
--
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
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/72a96826-4c1c-474b-afc7-2facf4a1e338%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.
--
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/CAC0La-1%2Bkw%3Dq4jq4hwgCbf9uLvS2t7E-KOuuMYhwmEmjBrYPew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Ryan Gedwill
2018-11-17 21:14:01 UTC
Permalink
Are you using a virtual environment? What version of python are you using?

Try typing in the command line:
python

Then when the shell opens up, put
import django

Press enter. What does it say?

Sent from my iPhone
Post by epic christ
what do you mean?
Post by Akash Purandare
Can you show the output of pip freeze in your virtual environment?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
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/72a96826-4c1c-474b-afc7-2facf4a1e338%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
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/CAC0La-1%2Bkw%3Dq4jq4hwgCbf9uLvS2t7E-KOuuMYhwmEmjBrYPew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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/46D2D0BC-0199-4EEC-AC1C-2A6341269BB6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Аккозов Медер
2018-11-17 03:36:20 UTC
Permalink
first you are inside the folder menega.py.
secondly, you need to write python menega.py runserver but not python 3
Post by epic christ
(myvenv) epiczed00s-MacBook-Air:mysite epiczed00$ python3 manage.py
runserver
File "manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'
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?
(myvenv) epiczed00s-MacBook-Air:mysite epiczed00$
I get this error, and as you can see I already have virtual enviroment.
Django worked before but recently this appeared to me. I don't know what
this means, I testted everything.
--
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
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/4188fd59-c008-4915-8386-bbe701de3e98%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/4188fd59-c008-4915-8386-bbe701de3e98%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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/CACkQVwVTo7BKysUYfniyDSHuk4sMwqzRpPnEn3DVDpF%3DW6qaKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...