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

Pip installation lacks __init__.py file #830

Closed
azmeuk opened this issue Sep 29, 2016 · 1 comment
Closed

Pip installation lacks __init__.py file #830

azmeuk opened this issue Sep 29, 2016 · 1 comment

Comments

@azmeuk
Copy link

azmeuk commented Sep 29, 2016

Hi. It seems that pip installations do not install __init__.py. So if you run a python scripts depending on supervisor, with python -Wall (for instance, some django tests with django-supervisor installed) you can have the following warnings:

  file, filename, etc = imp.find_module(subname, path)
/usr/lib64/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '.../env/lib/python2.7/site-packages/supervisor': missing __init__.py
virtualenv env
source env/bin/activate
pip install supervisor
ls env/lib/python2.7/site-packages/supervisor

Is there a problem with the pip installation ?

@mnaberez
Copy link
Member

Duplicate of #660.

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

No branches or pull requests

2 participants