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

Solved: attempted relative import with no known parent package #162

Open
andyliu1985 opened this issue Apr 17, 2023 · 0 comments
Open

Solved: attempted relative import with no known parent package #162

andyliu1985 opened this issue Apr 17, 2023 · 0 comments

Comments

@andyliu1985
Copy link

andyliu1985 commented Apr 17, 2023

Running in Python3

Made 3 changes

  • Scweet/scweet.py line 9
    from .utils import init_driver, get_last_date_from_csv, log_search_page, keep_scroling, dowload_images
    from utils import init_driver, get_last_date_from_csv, log_search_page, keep_scroling, dowload_images

  • Scweet/utils.py line 21
    from . import const
    #from . import const

  • Scweet/utils.py line 24
    from .const import get_username, get_password, get_email
    from const import get_username, get_password, get_email

@andyliu1985 andyliu1985 changed the title ImportError: attempted relative import with no known parent package Solved: attempted relative import with no known parent package Apr 17, 2023
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

1 participant