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

Can't find init file when i use pip to install the package #1

Open
littleboy12580 opened this issue Jun 8, 2017 · 3 comments
Open

Comments

@littleboy12580
Copy link

littleboy12580 commented Jun 8, 2017

after doing command pip install pony_up
i find that the __init__.py file has gone
because of that i can't import the package

@penkin
Copy link

penkin commented Dec 18, 2018

@littleboy12580 Here is how I got around that.

from pony_up.do_update import do_all_migrations

do_all_migrations(bind_func, folder_path=migrations_folder, python_import=python_import)

If you look in the projects __init__.py file it is importing do_all_migrations as migrate.

@luckydonald
Copy link
Owner

I should totally have a look at that.

luckydonald added a commit that referenced this issue Feb 21, 2020
@luckydonald luckydonald reopened this Jan 12, 2022
@luckydonald
Copy link
Owner

I'm not sure if that means that file is missing on the pip package?

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

3 participants