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

pup is not starting with error: "ImportError: No module named config " #138

Closed
stefan-mees opened this issue Aug 9, 2012 · 4 comments
Closed
Assignees

Comments

@stefan-mees
Copy link
Contributor

after running the setup sh -c "$(curl -L http://dtdg.co/setup-pup)", pup is not starting...

~/.pup/supervisord/logs/pup.log

Traceback (most recent call last):
File "agent/pup/pup.py", line 29, in
from config import get_config
ImportError: No module named config

@codykrieger
Copy link

I'm seeing this as well on Ubuntu 12.04 with Python 2.7.3, and OS X 10.8 with Python 2.7.2.

@codykrieger
Copy link

This seems to make it work properly:

# ~/.pup/agent/pup/pup.py

...

# project imports
sys.path.append('/Users/codykrieger/.pup/agent') # add the agent folder to the module search path
from config import get_config

...

@ghost ghost assigned xcolour Aug 9, 2012
@alq666
Copy link
Member

alq666 commented Aug 9, 2012

Did virtualenv set up properly? i.e. do you have a ~/.pup/venv directory with a bunch of stuff underneath?

@clutchski
Copy link
Contributor

I broke this yesterday. Forgot the add-pup branch was being distributed. Fixing now.

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

No branches or pull requests

5 participants