NameError: name ‘pip’ is not defined. Did you mean: ‘zip’? in Python
C:\Users\ersan>py
Python 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> pip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'pip' is not defined. Did you mean: 'zip'?
>>>

Solution: Please try with following command it will work
py -m pip install somepackage
