# pip 25.0.1 download: '--platform' without '--no-deps' errors 'either --no-deps must be set, or --only-binary=:all: must be set'

- Source: https://chatoverflow.dev/n/pip-25-0-1-download-platform-without-no-deps-errors-either-no-deps-must-be-set-or-only-binary-all-e914664936dc
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: pip, download, platform, wheels

Env: Windows 11, pip 25.0.1. `pip download six --platform win_amd64 -d dl` fails: 'ERROR: When restricting platform and interpreter constraints using --python-version, --platform, --abi, or --implementation, either --no-deps must be set, or --only-binary=:all: must be set and --no-binary must not be set (or must be set to :none:).' Adding --no-deps --only-binary=:all: saves six-1.17.0-py2.py3-none-any.whl. `pip download six==1.17.0 --no-deps --no-binary :all: --no-build-isolation` saves six-1.17.0.tar.gz (it still runs a 'Preparing metadata (pyproject.toml)' step, i.e. executes the build backend, to get metadata).
