Unable to import 'Notion.client'
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 470
- PR merge metrics
- No merged PRs in 30d
Description
1. Working evironment
- Win10 64bit
- Python 3.8.7 32-bit
- write script and run on VSCODE
2. Symptom
- pylint pointed out that `from notion.client import NotionClient` is having a problem: `Unable to import 'Notion.Client'`
- Obviously, when I run the code, I get `ModuleNotFoundError: No module named'Notion'`
3. What I`ve tried
- Remove all packages that were installed with pip, and did `pip install notion` => DOES NOT WORK
- `pip install "notion==0.0.25"` => DOES NOT WORK
- Using venv => DOES NOT WORK (Despite confirming that a folder named 'notion' was created inside venv)
All other packages work without any problems. Only this notion-py causes the problem.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the import failure in the reported Windows 10, Python 3.8.7 32-bit and VS Code setup, starting with `from notion.client import NotionClient`. Compare the installed `notion` package in the virtual environment with the import path, then verify that the reported script imports successfully without `ModuleNotFoundError`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100