skip to Main Content

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?

2

Answers


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

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search