Skip to content
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

Failing to run during dev environment setup #41

Open
philipobrien opened this issue Oct 8, 2014 · 8 comments
Open

Failing to run during dev environment setup #41

philipobrien opened this issue Oct 8, 2014 · 8 comments

Comments

@philipobrien
Copy link
Contributor

During setup command python manage.py runserver 0.0.0.0:8889 is resulting in the following error

Traceback (most recent call last):
  File "manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
@mpetyx
Copy link
Contributor

mpetyx commented Oct 9, 2014

that means that you have installed the dependencies correctly.
Most probably you missed django itself while installing

@philipobrien
Copy link
Contributor Author

That's what I assumed, but I'm following the build steps exactly

@mpetyx
Copy link
Contributor

mpetyx commented Oct 9, 2014

could you please paste here the github url from where you follow the steps?
The exact file of guidelines to see if there is something wrong.
Thank you

@philipobrien
Copy link
Contributor Author

It happens when I follow the README steps for setting up the open-dev-env

@mpetyx
Copy link
Contributor

mpetyx commented Oct 9, 2014

at some point it runs this command.
virtualenv venv
if this crashes, all the rest is crashing. but i do not see that been installed in this file.
Maybe somewhere else. Are you executing the script line by line or you are trying through the vagrant environment?

@philipobrien
Copy link
Contributor Author

I'm running the scripts from within the vm after it has finished provisioning. It worked for me before, but is now failing. Have you spun up a vagrant box for the dev-env since the latest commits?

@mpetyx
Copy link
Contributor

mpetyx commented Oct 9, 2014

no no unfortunately.
so, for some reason something has changed. i will try to tomorrow to do exactly that.
thank you for identifying this working issue.

@philipobrien
Copy link
Contributor Author

So it seems that the problem is not executing the venv python version, so

python manage.py runserver 0.0.0.0:8889

should be

venv/bin/python manage.py runserver 0.0.0.0:8889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants