Pip installer is not working

I am using a Microsoft Windows and have the latest version of Python installed, 3.13.1.
I am very new to Python and was trying to install Tabulate with the following command;
‘Pip install tabulate’. I immediately receive an invalid syntax error. I have tried as others have suggested running this command from the Command Line and also Windows Powershell.
Windows PowerShell returns an error of Pip is not a recognized term as of a Cmdlet, function, script file or operable program.
The error for the Command Line is similar, by stating it is not recognized as an internal or external command, operable program or batch file.

I have also typed in on PowerShell Py -m pip, and this returns a windows explorer location in my programs and appears to give me a list of commands & general options.

Really not sure what I am doing wrong, any tips or advice would be appreciated.

Thank you

It seems you have not installed python given what you are reporting as errors.

Just to check run this command in a terminal.

py

Do you get the python prompt?

Python 3.13.0 (v3.13.0:60403a5409f, Oct  7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

If not downloafd python from python.org and run the .exe installer you have downloaded. Then try again.

Hi Barry,
I am getting the prompt when I type py as suggested, but I can’t seem to get any results when I type Pip install (package name). I have uninstalled Python once and reinstalled today, i could see the check box to confirm it was installing PyPi as part of the installation process.

Do you have any other suggestions at all?

Use the py command to run pip.

py -m pip

I found the issue in the end, when installing on a Windows device for some reason, it doesn’t automatically install correctly. The simplest way to fix, was to go to Control Panel, install / uninstall programs, select Python Program, Select change at the top of the dialogue box, you then receive a Python window that pops up, prompting you to repair, modify or uninstall Python. Select repair and you will be given some check boxes to select. Be sure to select the box that gives you the option to add Python to Environment Variables and complete the installation repair / modification. Python now works as does the Pip installer.

When you use the py command you do not need to add anything new to your PATH.

Having a similar issue, I used py -m pip got a bunch of info and when I typed py got all my version info, but pip does still not work, a little confused on where to go next

Given you have a new issue start a new topic please.

I had the exact same issue - thank you for posting the solution!

After repairing the Python program, open command prompt and run:
py -m pip install jupyter