-
-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named 'spirit' #73
Comments
I'm guessing the main
Yes, the
This is how modules get imported twice and weird bugs happens. On a side note, if you really want to clone the project and don't want to use pip (ie: to collaborate on the project), your project layout should be as follows:
|
Thank you @nitely. But installed by |
Following the example readme should work for you. The main readme steps are to integrate Spirit into an existing project. The El sáb., sept. 12, 2015 5:46 AM, gogobook notifications@github.com
|
I found the 'example' directory in site-packages when installed spirit by 'pip install django-spirit'. I thought 'example' maybe need to change to another name, like 'django-spirit-example'. And there is no 'manage.py' in the 'example'. How I need to do is better? Copy it from other place? |
That happens when you install via
Ignore that folder. Go to: https://github.com/nitely/Spirit/tree/master/example and follow the instructions to the letter. |
I got 'spirit' by 'git clone', and then follow instructions in README.md. Then I got this error. I know this about 'PYTHONPATH'. And I got the solution by make an soft link in PYTHONPATH. So I think it maybe a document issue.
The text was updated successfully, but these errors were encountered: