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
There goes, I updated the wheel while with all the none checking changed, still passes all the tests on numpy 1.13.1.
It still the old version 2.4 and for python 2.7, but at least people won't need hand editing like in your last step from now on.