We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b422dcc commit b3cc220Copy full SHA for b3cc220
1 file changed
README.md
@@ -26,7 +26,9 @@ print(result)
26
这个接口默认只要传 `type` 就可以拿当前热榜。`time`、`keyword`、`time_start`、`time_end`、`limit`、`sources` 都是按场景再传的可选参数。
27
28
> [!TIP]
29
-> 请使用与运行脚本相同的 Python 解释器安装依赖,例如执行 `python -m pip install uapi-sdk-python` 后再运行 `python main.py`。在 VS Code / Pyright 中若提示 “Import uapi could not be resolved”,将解释器切换到当前虚拟环境即可恢复补全。
+> 请使用与运行脚本相同的 Python 解释器安装依赖,推荐直接执行 `python -m pip install -U uapi-sdk-python` 后再运行 `python main.py`。
30
+> 如果安装时提示 `No matching distribution found for uapi-sdk-python`,请先执行 `python --version` 确认当前解释器是否为 Python 3.9 及以上,再执行 `python -m pip install -U pip` 后重试。
31
+> 在 VS Code / Pyright 中若提示 “Import uapi could not be resolved”,将解释器切换到当前虚拟环境即可恢复补全。
32
33
## 特性
34
0 commit comments