私は試しにsatchmoを取得しますが、最初は試してみると大きな問題があり、何が間違っているのか分かりません。 私は明確なDjangoのプロジェクトに$ python clonesatchmo.py
を作り、それがエラーtrows:Satchmo clonesatchmo.py ImportError:名前をインポートできませんexecute_manager
$ python clonesatchmo.py
Creating the Satchmo Application
Customizing the files
Performing initial data synching
Traceback (most recent call last):
File "manage.py", line 18, in <module>
from django.core.management import execute_manager
ImportError: cannot import name execute_manager
Traceback (most recent call last):
File "manage.py", line 18, in <module>
from django.core.management import execute_manager
ImportError: cannot import name execute_manager
Error: Can not copy the static files.
Error: Can not syncdb.
を、店舗のフォルダを作成します。このような しようとしてなめらかに!!取り組んでいる:
$ python manage.py shell
>>> import os, sys
>>> print sys.executable
/some/path/to/python
>>> os.system('bash')
$ /some/path/to/python manage.py validate
# this is NOT fail on "from django.core.management import execute_manager"
私はジャンゴ1.6とサッチモ0.9.3、Pythonのを持っている2.7.5
「私はvirtualenvを使用していません」orly? '/ some/path/to/python'は確実に1のように見えます。 – AdamKG
@AdamKGしかし、それは標準的なパスです...このアクションを行うためにGoogleグループでアドバイスされています.. "/ some/path/to/python"は:/Library/Frameworks/Python.framework/Versions/2.7/です。 Resources/Python.app/Contents/MacOS/Python' – Pruntoff