- Check pip version:
python -m pip --versionorpip --version. - Upgrade:
python -m pip install --user --upgrade pip - Install a package using pip:
python -m pip install --user pipx - Resolve dependencies:
pip install -e .orpip install requirements.txt
Note:
- Not sure what the
--useroption does. And it’s probably not needed if you are going the Virtualenv route (which you almost always should).