conda create -n py27 python=2.7activate py27conda install -c intel mklconda install numpy scipy sixpip install nibabelconda install -c conda-forge dipypip install https://github.com/samuelstjean/spams-python/releases/download/v2.6/spams-2.4-cp27-none-win_amd64.whlpip install git+https://github.com/daducci/AMICO.gitpip 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
py27is 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.