Skip to content

Instantly share code, notes, and snippets.

@pangyuteng
Last active December 24, 2018 07:35
Show Gist options
  • Save pangyuteng/5df295faf19d7474d3c3e86b90c2654a to your computer and use it in GitHub Desktop.
Save pangyuteng/5df295faf19d7474d3c3e86b90c2654a to your computer and use it in GitHub Desktop.
AMICO installation instruction for windows x64:

AMICO installation instruction for windows x64:

  • 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: to if D is None:

demo instruction:

@samuelstjean
Copy link

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.

@samuelstjean
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment