小编Bet*_*dhi的帖子

为什么我无法在 VS Code 中导入请求?

我想使用请求模块,但是每当我尝试导入请求时,我都会收到以下消息:

import "requests" could not be resolved from source Pylance
Run Code Online (Sandbox Code Playgroud)

我已经使用 pip 安装 requests 模块,但仍然收到此错误消息。

python visual-studio-code pylance

50
推荐指数
4
解决办法
13万
查看次数

标签 统计

pylance ×1

python ×1

visual-studio-code ×1