시도해 볼 때 satchmo가 표시되지만 처음에는 큰 문제가 있습니다. 무엇이 잘못 됐는지 이해하지 못합니다. 나는 분명 장고 프로젝트에 $ 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 츠모 (Satchmo) 0.9.3, 파이썬이 2.7.5
"나는 virtualenv를 사용하지 않습니다."orly? '/ some/path/to/python'은 확실히 하나처럼 보입니다. – AdamKG
@AdamKG하지만 이것은 표준 경로입니다 ... Google 그룹에서이 작업을 수행하라는 조언을 받았습니다. "/ some/path/to/python"은 다음과 같습니다.'/Library/Frameworks/Python.framework/Versions/2.7/ Resources/Python.app/Contents/MacOS/Python' – Pruntoff