mckib2 / pygrappa

Python implementations of GRAPPA-like algorithms.
https://pygrappa.readthedocs.io/en/latest/
MIT License
64 stars 13 forks source link

macOS installation via pip #10

Closed mckib2 closed 5 years ago

mckib2 commented 5 years ago

Command: pip3 install pygrappa --user

Problems:

mckib2 commented 5 years ago

map.emplace() not compatible with gcc 4.2.1, might want to use a different map method for better backwards compatibility with compilers.

mckib2 commented 5 years ago

Numpy/cython part is a bootstrapping issue. Need to look and see how scipy and others handle this problem

mckib2 commented 5 years ago

numpy bootstrapping seems fixed on Linux, still need to test on mac and windows. map.emplace has been replaced with insert method, presumably fixing compilation on old gcc/clang compiler, still need to test though.

mckib2 commented 5 years ago

Successfully installed using pip on macOS Sierra v10.12.6, clang-900.0.39.2. Considering this a success. The following was run to verify that everything worked:

$ python3 -m venv ~/Documents/venv/pygrappa $ source ~/Documents/venv/pygrappa/bin/activate (pygrappa) $ pip install pygrappa (pygrappa) $ python basic_cgrappa.py # basic_cgrappa.py is from examples module