InstaPy / InstaPy/instapy-quickstart
ImportError: attempted relative import with no known parent package
- 主要言語
- Python
- スター
- 777
- フォーク
- 763
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
```
----> 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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100