For those that don’t want to read the whole article this is the gist:
pip may be not point to the same command as python -m pip
This happens in windows and mac quite often. You’ll experience this as finding that pip install <package> won’t work for you. But python -m install <package> will.
If you are using virtual environments then this isn’t a problem, pip and python -m pip will point to the same command
2
u/ZachVorhies Jul 21 '22 edited Jul 21 '22
For those that don’t want to read the whole article this is the gist:
pip may be not point to the same command as python -m pip
This happens in windows and mac quite often. You’ll experience this as finding that pip install <package> won’t work for you. But python -m install <package> will.
If you are using virtual environments then this isn’t a problem, pip and python -m pip will point to the same command