Skip to content

Issue with install on Mac OS X #1

@slimtomatillo

Description

@slimtomatillo

I tried to install the module via the two lines of code below:

$ pip install -r requirements.txt
$ python setup.py install

but got the following error after the second line (running setup.py install):

...
creating build/temp.macosx-10.7-x86_64-3.6/Users/alexandrasmith/Documents/Socos_Labs/Diabetes/Modeling/dictlearn/dictlearn/_dictlearn
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Applications/anaconda3/include -arch x86_64 -I/Applications/anaconda3/include -arch x86_64 -Idictlearn/_dictlearn -I/Applications/anaconda3/lib/python3.6/site-packages/numpy/core/include -I/Applications/anaconda3/include/python3.6m -c /Users/alexandrasmith/Documents/Socos_Labs/Diabetes/Modeling/dictlearn/dictlearn/_dictlearn/_dictlearn.c -o build/temp.macosx-10.7-x86_64-3.6/Users/alexandrasmith/Documents/Socos_Labs/Diabetes/Modeling/dictlearn/dictlearn/_dictlearn/_dictlearn.o -fopenmp -O3
clang: error: unsupported option '-fopenmp'
error: command 'gcc' failed with exit status 1

Any suggestions? I am looking to find a module or open-sourced implementation of a sparse dictionary learning algorithm, and yours looks great--I'd love use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions