InstaPy / InstaPy/instapy-quickstart

ImportError: attempted relative import with no known parent package

オープン
#290 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。