Skip to content

ImportError: attempted relative import with no known parent package #290

@AmineMahdioui

Description

@AmineMahdioui
----> 1 from instapy import InstaPy

File [c:\Users\amine\OneDrive\Documents\scrappy\.venv\Lib\site-packages\instapy\instapy.py:33](file:///C:/Users/amine/OneDrive/Documents/scrappy/.venv/Lib/site-packages/instapy/instapy.py:33)
     30 from selenium.common.exceptions import NoSuchElementException
     32 # import InstaPy modules
---> 33 from . import __version__
     34 from .browser import close_browser, set_selenium_local_session
     35 from .clarifai_util import check_image

ImportError: attempted relative import with no known parent package

i Just restarted my laptop then this happend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions