0

After installing python 3.8 version, trying to install package using below command but getting error all the time.

command: python -m pip install pandas

output: python.exe no module named pip

  • 2
    I suppose you're running on Windows, but it's good to point it out in your question. Also tell us what approaches you've already tried, so others don't recommend them again. `ensurepip` is one of the potential solutions, so downvoting without communicating why is not helpful – Jura Brazdil Nov 09 '21 at 11:07
  • 1
    https://stackoverflow.com/search?q=%5Bpip%5D+python.exe+no+module+named+pip – phd Nov 09 '21 at 11:33

1 Answers1

3

Try running this to get the pip module installed:

python -m ensurepip

If that fails, look into installing the python3-pip package using your OS's package manager

MolarFox
  • 55
  • 7