Saturday, February 6, 2016

Re: django現在インストールエラーにつきまして

(日本語で話すのが久しぶりだけど... 笑)

"mysite" の中に"settings.py"と"__init__.py"がありますか?その二つのファイルがなければ、importするとerrorが起こります。
 

On Saturday, February 6, 2016 at 11:56:13 PM UTC+11, makamaka32 wrote:
お世話になります。
現在djangoを学習しようとしている者ですがインストール時にエラーが起こり先に進めないようになっております。

easy_installにてdjangoをダウンロードし
python manage.py startapp myapp まで進むと
importError: No module named mysite.settings
と表示されます。

こういった場合どのように対処すればよろしいでしょうか?
同じフォルダの中にはsettings.pyは存在するのですが。

誠に申し訳ございません。
回答どうかよろしくお願いいたします。

--
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+unsubscribe@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/a1663d2c-900b-48af-9d15-46b1fd0eee15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment