Je reçois satchmo pour essayer, mais j'ai un gros problème au premier essai, et je ne comprends pas ce qui ne va pas. Quand je fait $ python clonesatchmo.py
dans le projet de django clair, il trows une erreur:Satchmo clonesatchmo.py ImportError: impossible d'importer le nom 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.
et crée un dossier de stockage. smth essayer comme ça fonctionne !!:
$ 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"
J'ai Django 1.6 et 0.9.3 Satchmo, python 2.7.5 (je n'utilise virtualenv)
"(Je n'utilise pas virtualenv)" orly? '//some/path/to/python' en a vraiment l'air. – AdamKG
@AdamKG Mais c'est un chemin standard ... il était conseillé aux groupes google de faire cette action .. le "/ some/chemin/vers/python" est: '/Bibliothèque/Frameworks/Python.framework/Versions/2.7/ Ressources/Python.app/Contents/MacOS/Python' – Pruntoff