pip Install and Dependencies Cheat Sheet/Install from a direct archive URL

Install from a remote source archive or wheel URL.

Section: VCS and Direct URLs

Install from a direct archive URL

bash
bash
python -m pip install https://files.pythonhosted.org/packages/.../package.whl
Explanation

Useful for direct artifacts and private file endpoints.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing VCS and Direct URLs
Install from a Git repository over HTTPS
Install a package directly from a Git repo.
OpenIn sheetbashsame section
Install from a specific Git ref
Pin a VCS install to a tag, branch, or commit.
OpenIn sheetbashsame section
Install from requirements file
Install dependencies listed in a requirements file.
OpenIn sheetbash1 tag match
Install multiple requirements files
Combine base and environment-specific requirement lists.
OpenIn sheetbash1 tag match
Install from local path
Install a package from a local directory.
OpenIn sheetbash1 tag match
Install into a target directory
Install packages into a custom filesystem path.
OpenIn sheetbash1 tag match