简体   繁体   English

VScode Intellisense无法识别点子安装的软件包(Python)

[英]VScode intellisense not recognizing pip intalled packages (python)

I'm just getting started with python. 我刚刚开始使用python。 After installing python (3.6.8) and running VS code to learn some scripts, I found out that intellisense is not giving any suggesions for packages that I installed by pip ex: 安装python(3.6.8)并运行VS代码以学习一些脚本后,我发现intellisense并未对我通过pip ex安装的软件包提供任何建议:

import numpy as np 将numpy导入为np

x=np.ar(nothing shows here and even before typing the "ar", just shows a bunch of stuff that I typed earlier) x = np.ar(这里甚至在键入“ ar”之前都没有显示,只是显示了我之前键入的一堆东西)

I'm sorry if I'm missing something, I'm literally a newbie. 很抱歉,如果我缺少什么,我实际上是个新手。

Thank you. 谢谢。

Make sure that you selected the appropriate interpreter and environment that you installed into. 确保选择了适当的解释程序和安装环境 Also make sure that the extension has finished loading and analyzing packages. 另外,请确保扩展程序已完成加载和分析程序包。 Finally, you can use the Microsoft language server if you aren't already to see if it gives you better results than Jedi. 最后,如果您还没有使用Microsoft语言服务器来查看是否比Jedi更好的结果,则可以使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM