Home > database >  Unable to import numpy/pandas/matplotlib packages in VScode
Unable to import numpy/pandas/matplotlib packages in VScode

Time:11-23

I have used widely used packages(installed via pip) for a while in Jupyter notebook without any issues. I tried to do Python coding in VScode,but it somehow cannot load those packages.

I have tried changing python interpreter, but it did solve the issue. Does anyone know how to resolve this issue?

CodePudding user response:

First make sure that you have the python interpreter installed on your computer. In your vscode UI you should see a terminal. You can install and upgrade pip through there if needed by using these commands:

pip install --upgrade pip

From here you should be able to import using pip commands.

CodePudding user response:

Hi you can use terminal for installation. otherwise you can anaconda iDE its very good tool and user friendly.

  • Related