cursor中使用conda虚拟环境
pycharm使用conda虚拟环境很简单,或者命令conda activate XXX 即可。在cursor中使用有些麻烦。查了资料,给出了下面的解决方法:
ctrl + shift + P 调出设置, 输入 Python:Interpreter 正常会出现如下内容:

如果输入 Python:Interpreter 后没有任何条目显示,是因为python没有安装。需要安装python插件。步骤如下:
(1)视图(View) -> 扩展(Extension )

(2)安装python插件即可

这时候 再搜索 Python:Interpreter 应该就可以看到了