pytorch-nlp-tutorial-sf2017 icon indicating copy to clipboard operation
pytorch-nlp-tutorial-sf2017 copied to clipboard

OS 10.14/Xcode 10 : can't install requirements (stdlibc++ headers not found)

Open bjalon opened this issue 6 years ago • 0 comments

I will participate to the next IA session next week and I followed the requirement documentation.

The CUDA framework will not work as CUDA is not yet compatible with the last OS X. Anyway this is not required and I do not have a GPU :)

But when I launch the command line to install requirements for the project : pip install -r requirements.txt

I have the following warning : warning: include path for stdlibc++ headers not found;

And then some building errors follow : src/annoylib.h:20:10: fatal error: 'string' file not found #include <string> ^~~~~~~~ 1 warning and 1 error generated. error: command 'gcc' failed with exit status 1

It seems that stdlibc++ is no more supported in XCode 10. Do you know how can I fix that ?

bjalon avatar Oct 04 '18 05:10 bjalon