Sunday, September 27, 2015

Re: Django Tutorial(Database Setup Question)

> …
> However, when I try to run the following command : $ python migrate to create the tables in the database,
> CaiGengYangs-MacBook-Pro:Weiqi CaiGengYang$ python migrate ---- input
> I get the following error message :
> /Library/Frameworks/Python.framework/Versions/2.7/Resources/ can't open file '': [Errno 2] No such file or directory ---- output

You need to be in the same directory as the file for the command to work. For Django-1.8 that is likely to be one level above your file.


- Tom

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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment