InstaPy / InstaPy/instapy-quickstart
ImportError: attempted relative import with no known parent package
- Langage dominant
- Python
- Étoiles
- 777
- Forks
- 763
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```
----> 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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- backend
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100