vs代码中的库导入问题

library importing issues in vs code

import errors in python in vs code

"我在 vs 代码中尝试了一些聊天机器人项目的导入,但它总是显示如下图所示的一些错误。 正在寻找解决方案,谢谢。"

this picture shows the error that i seen after importing some libraries in python using vs code.

图片

looking for solutions ,thank you.

你可能没有选对口译员。

1) Select 命令面板中的解释器命令 (Ctrl+Shift+P)

2) 搜索 "Select Interpreter"

3) Select安装的python目录

参考:- https://code.visualstudio.com/docs/python/environments#_select-an-environment