If you use virtualenv, first of all activate the virtualenv

On Nov 22, 2017 8:12 PM, "ngn zone" <ngnz...@gmail.com> wrote:

Hello all,

  I am new to Django. I am trying to run a project and when I run "python
manage.py makemigrations " I get the following error message.
What am I doing wrong?


python manage.py makemigrations
Traceback (most recent call last):
  File "manage.py", line 9, in <module>
    dotenv.read_dotenv()
AttributeError: 'module' object has no attribute 'read_dotenv'

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/7b296ad6-ef80-4186-a82b-a49345448bee%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/7b296ad6-ef80-4186-a82b-a49345448bee%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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CACOk0TzPjfdSNyhUGwZoX5Kp2JEoWSP3Ar%3Dgjpn%3DmsRsCYSMqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to