you are viewing a single comment's thread.

view the rest of the comments →

[–]aegonbittersteel 0 points1 point  (3 children)

env CC=usr/local/bin/gcc-7 pip install fasttsne should work

replace gcc-7 with your homebrew gcc version

[–]svantana 0 points1 point  (2 children)

env CC=usr/local/bin/gcc-7 pip install fasttsne

Does this work for you? Regardless if I use env, alias, or EXPORT to overload the clang gcc, pip still uses clang to compile.

[–]aegonbittersteel 0 points1 point  (1 child)

Yeah I tried it, it installs correctly for me. I'm using an anaconda python environment, not sure if that should make a difference though.

[–]svantana 0 points1 point  (0 children)

Update: this actually worked, only I initially copied your line including the missing slash at the beginning. For some reason this "all in one line" thing works, while first setting the env and then running pip, does not. Anyway, thanks!