[Neuroimaging] [DIPY] pip question
Eric Larson
larson.eric.d at gmail.com
Sat Sep 5 12:58:50 EDT 2020
>
> I don't use conda myself - but I guess that line must be wrong, and
>> you need to drop either the first or the second 'dipy' , as in:
>>
>> dependencies:
>> - pip:
>> - --only-binary dipy
>>
>
It looks like for pip, --only-binary requires an argument, namely the list
of packages to only consider binary installations for:
$ pip install --only-binary dipy
ERROR: You must give at least one requirement to install (see "pip
help install")
$ pip install dipy --only-binary
...
--only-binary option requires 1 argument
$ pip install dipy --only-binary dipy
Collecting dipy
Using cached dipy-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl (7.7 MB)
...
So the command in the requirement.txt file is fine, and actually omitting
the `--only-binary` argument leads to an error.
In this particular case, it turns out that the reason that there was a
failure (seen from another thread) is that the system in question runs
CentOS 6.X, which is incompatible with the build platform used to generate
the dipy wheels.
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20200905/33d5761c/attachment.html>
More information about the Neuroimaging
mailing list