InstaPy / InstaPy/instapy-quickstart
ImportError: attempted relative import with no known parent package
- Ngôn ngữ chính
- Python
- Star
- 777
- Fork
- 763
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
```
----> 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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100