Hints, Suggestions, Autocomplete not working for numpy, matplotlib...
See original GitHub issueEnvironment data
- VS Code version: 1.50.1
- Extension version (available under the Extensions sidebar): Microsoft Python v2020.10.332292344
- OS and version: Windows, Linux, macOS (all of them same problem)
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.2 64 bit
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): venv (with numpy installed)
- Relevant/affected Python packages and their versions: any external package (numpy, matplotlib…)
- Relevant/affected Python-related VS Code extensions and their versions: Microsoft Python v2020.10.332292344
- Value of the
python.languageServer
setting: ?
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
I installed Pylance as suggested above, still same problem
Expected behaviour
Show documentation or function parameters for numpy.array
Actual behaviour
No showing anything
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- Press CTRL+SPACE
Issue Analytics
- State:
- Created 3 years ago
- Reactions:18
- Comments:17 (1 by maintainers)
Top Results From Across the Web
PyDev doesn't autocomplete for some modules (numpy ...
Autocomplete does work for many other modules (including Qt/qwt, serial, struct) and the programs run fine. However, every time I use np.something eclipse ......
Read more >Autocomplete | Python in Visual Studio Code
1. Intellisense/Autocompletion not working for custom modules · Cause: The path to the python executable is incorrect. Solution: Configure the path to the...
Read more >Settings Reference for Python - Visual Studio Code
Python settings reference. The Python Extension for Visual Studio Code is highly configurable. This page describes the key settings you can work with....
Read more >How to enable auto-completion in Jupyter Notebook
You have auto-complete in Jupyter notebooks like you have in any other Jupyter environment. Simply hit the “Tab” key while writing code. This...
Read more >How to Get the Best Autocomplete in Jupyter Notebooks and ...
To enable code autocomplete in Jupyter Notebook or JupyterLab, you just need to hit the Tab key while writing code. Jupyter will suggest...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, can confirm this also affects me — after the update autocompletion for pytorch and numpy stopped working. Same vscode / python extension versions as for the topic starter
I can also confirm the issue. Matplotlib seems to be okay. Pandas is fine too on my end. Actually, it only doesn’t seem to work with np.array. All other np functions seem to work. Also, it seems like from the symbol that np.array is not identified as function, but ‘import’.
Python extension version: v2020.11.358366026
VSCode: Version: 1.51.1 Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f Date: 2020-11-11T01:11:34.018Z
numpy 1.16.6
Python 3.7.4
Value of the python.languageServer setting: Pylance and Microsoft language server are affected.