-5

What is the difference between these:

sudo python3 -m pip install requests pyarrow
sudo pip3 install requests pyarrow
khelwood
  • 55,782
  • 14
  • 81
  • 108
Xi12
  • 939
  • 2
  • 14
  • 27
  • https://stackoverflow.com/search?q=%5Bpip%5D+What+is+the+difference+between+%22python+-m+pip%22+pip – phd Apr 01 '22 at 17:04

1 Answers1

0

First of all sudo (short for superuser do) runs the program as an administrator. Second, python3 will either open the live interpreter or a script passed to it as an argument, while pip3 is used to install python packages.

In your given usage, they should do the same thing.

3ddavies
  • 546
  • 2
  • 19