【发布时间】:2019-01-20 08:03:43
【问题描述】:
错误消息:
src/pyfasttext.cpp:648:10:致命错误:找不到“随机”文件
#包括 。
^~~~~~~~。
生成 1 个警告和 1 个错误。
错误:命令“gcc”失败,退出状态为 1
已安装 gcc 和 LLVM...
UK-xxxx:vercheng$ gcc --version
配置:--prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM 版本 10.0.0 (clang-1000.10.40.1)
目标:x86_64-apple-darwin17.7.0
线程模型:posix
安装目录:/Library/Developer/CommandLineTools/usr/bin
试过这个:https://github.com/vrasneur/pyfasttext/issues/24
没有帮助
谢谢
【问题讨论】:
标签: c++ python-3.x macos cython fasttext