conda create -n py27 python=2.7
activate py27
conda install -c intel mkl
conda install numpy scipy six
pip install nibabel
conda install -c conda-forge dipy
pip install https://github.com/samuelstjean/spams-python/releases/download/v2.6/spams-2.4-cp27-none-win_amd64.whl
pip install git+https://github.com/daducci/AMICO.git
pip install -U nibabel
- locate spams.py in the conda environment
py27
:- update line 424 in spams.py: from
if D == None:
toif D is None:
- update line 424 in spams.py: from
- download example dataset https://github.com/daducci/AMICO/blob/master/doc/demos/NODDI_01.md
- move above data to c:\Temp and follow the folder structure from above link
- copy test_amico.py to c:\Temp
- make sure conda environment
py27
is activated - run
python test_amico.py
I noticed that you had to edit some wheel files, by curiosity does it still works on recent numpy (say >1.12)? I remember they changed C/Fortran stuff ordering far in the backend and the whole thing had to be rebuilt with patches, but I forgot about the windows version as I don't have a compiler setup and all.