[Neuroimaging] [dipy] [google hangout] Issues trying to install dipy

Eleftherios Garyfallidis garyfallidis at gmail.com
Wed Jun 22 18:10:52 EDT 2016


Thanks for the feedback Jon!

On Wed, Jun 22, 2016, 11:54 PM Jon Haitz Legarreta <
jhlegarreta at vicomtech.org> wrote:

> Hi there,
> yep, that's right. Thanks for the follow-up message, Eleftherios, and
> sorry for lagging behind with the answer.
>
> The procedure we followed is the one Eleftherios described.
>
> We also created an environment variable called PYTHONPATH pointing to the
> location where the dipy sources reside in my machine. I don't know whether
> this was strictly necessary in the end.
>
> I run the automatic tests with the following results:
> run: 539;
> skipped=3, errors=2, failures=1
>
> I guess it's OK.
>
> In my case, I was not particularly put off by the apparent dependency on
> VS, since anyways sooner or later I was to install it for other C++
> developments.
>
> Now, this is feed for thought: although VS Community Edition is free, as
> it seems from the effort we made, it looks like we need to install the
> entire tool. I ignore whether other "lighter" solutions exist. Since
> Anaconda kept looking for the VS compiler, although I explicitly set to use
> its built-in MinGW32, so it looks unavoidable. But I guess it would be
> interesting to find the root of the issue or to find a workaround to avoid
> such a heavy dependency.
>
> I ignore whether this issue is new on Win 10 systems (may be it was
> already present on Win 8?), or specific to the Anaconda distributions I
> downloaded, or a combination of both. We tried both with a Anaconda with
> Python 2.7 and 3.0 versions with similar concerns.
>
> The related question I posted [1] to the Anaconda mailing list is still
> unanswered.
>
> Thanks for the effort Elefhterios.
> JON HAITZ
>
> [1]
> https://groups.google.com/a/continuum.io/forum/#!searchin/anaconda/dipy/anaconda/eQcYKQubSJ8/Dd4Wt4FPAwAJ
>
> --
>
> On 22 June 2016 at 16:57, Eleftherios Garyfallidis <garyfallidis at gmail.com
> > wrote:
>
>> Hi all,
>>
>> Just wanted to give you a quick feedback about the meeting we had with
>> Jon to try and install DIPY for development work in Windows 10 (64bit)
>> using an Anaconda installation.
>>
>> What we found is that if you are using recent Anaconda in Windows you do
>> not need to install mingw or libpython (with conda). All you need after or
>> before installing Anaconda is to install one of the free versions (or not)
>> of the Visual C++ compiler (e.g. community edition). After that then cython
>> will find the correct compiler and build the shared objects with no problem.
>> So, in summary the steps are:
>> 1. Install Anaconda for your windows version.
>> 2. Install Visual C++ (or Studio) community edition (or other).
>> 3. pip install nibabel
>> 4. conda install vtk
>> 5. cd dipy;
>> 6. python setup.py develop (or python setup.py build_ext --inplace)
>>
>> I hope this helps. We need to update our installation page! Cygwin/mingw
>> is no more for anaconda users. We should also check what happens with
>> Openmp when Visual C++ is used.
>>
>> Many thanks to Jon for reporting the problem.
>>
>> Best regards,
>> Eleftherios
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20160622/f976b2e0/attachment.html>


More information about the Neuroimaging mailing list