InstaPy / InstaPy/instapy-quickstart
ImportError: attempted relative import with no known parent package
- Vorherrschende Sprache
- Python
- Sterne
- 777
- Forks
- 763
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
```
----> 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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start with the reported `from instapy import InstaPy` entry point and inspect `site-packages/instapy/instapy.py` around line 33, where the relative import fails. Reproduce the import after the reported restart and determine whether the package installation or execution context causes the error. Done means the documented quickstart import works without this ImportError.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- backend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100