Pip not found after python313 installation

After installing Python 3.13.7 I can’t execute pip in VS CODE. I get the error “NameError: name ‘pip’ is not defined. Did you mean: ‘zip’?”

I have installed Python using the customize option and add pip to PATH selected. It is installed to

c:\users\\appdata\local\programs\python\python313\scripts”. Checked that this is added to PATH.

Any advice on how to solve this would be greatly appreciated

pip is meant to be ran from the command line, not a Python REPL (or file). In VSCode, you can create a new terminal and try running pip or python3 -m pip. If you still have an issue, showing what your terminal looks like / how you are using pip may be helpful.

Hi Schin

Specifically, I was trying to install pandera pip install pandera.

I was under the impression this could be done in the IDE (VS CODE) and I think that may still be the case, somehow. Per your advice, I just tried the install on the command line and it works fine.

That’s good enough for me for now.

Many thanks for your super quick reply/guidance on this!