Python - Pip
·1 min
- Check pip version:
python -m pip --version
orpip --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
--user
option does. And it’s probably not needed if you are going the Virtualenv route (which you almost always should).