Pip install with `--platform` showing ERROR
goyalyashpal opened this issue · 2 comments
goyalyashpal commented
$ pip install --target ./ --only-binary=:all: --no-binary=:none: --platform ./ icdiff
ERROR: Could not find a version that satisfies the requirement icdiff (from versions: none)
ERROR: No matching distribution found for icdiff
$ pip help install | less
--platform <platform> Only use wheels compatible with <platform>.
Defaults to the platform of the running system.
Use this option multiple times to specify
multiple platforms supported by the target
interpreter.
$ pip install --platform icdiff
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:).
$ pip install --only-binary=:all: --no-binary=:none: --platform icdiff
ERROR: Can not use any platform or abi specific options unless installing via '--target'
Platform: Windows 10 with msys2 bash, with python via installer from python.org
jeffkaufman commented
Does pip install icdiff
not work for you?
(There aren't any binary components in icdiff
; it's pure python.)
goyalyashpal commented
i will come back to this later 😅