-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation failure on Mac OS with gcc 8.2: fatal error: 'random' file not found #44
Comments
I'm having this issue too. Did you manage to fix it? |
no haven't I'm awaiting solutions from here... |
try |
Thanks and it works!! |
Didnt work for me gcc --version gives It fails with lot of errors. Last few lines being: any suggestions? |
@anujgupta82 Hey - did you ever figure this out? I have the same error and the above solutions didn't work for me. |
@anujgupta82 @argideritzalpea I have the same problem - have you found any solution? I tried all methods mentioned in pyfasttext issues and some custom tricks e.g. with CXXFLAGS and still no luck... |
ERROR MESSAGES:
src/pyfasttext.cpp:648:10: fatal error: 'random' file not found
#include . ^~~~~~~~ . 1 warning and 1 error generated.
error: command 'gcc' failed with exit status 1
Have installed gcc and LLVM...
UK-xxxx:vercheng$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.40.1)
Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
tried this: #24
didn't help
wondering if it's due to gcc latest version 8.2
Thanks
The text was updated successfully, but these errors were encountered: