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 know they broke a bunch of stuff in numpy 1.10.x with the fortran ordering, but the old spams .so file is pretty much the same, I guess I can try hand editing the wheel file myself instead. Weird I had no comment reply notice or anything about this gist though.