我需要进入thrift安装目录下的lib/py目录,但安装后找不到(使用sudo apt-get install thrift-compiler)
最佳答案
每种语言所需的编译器和库都不相同。您只安装了 thrift-compiler
包,顾名思义,它只包含 Thrift 编译器二进制文件。我现在手边没有 Ubuntu,但基本上有三种解决方案:
- 找到与编译器版本匹配的库包in the Ubuntu repo
- 从Thrift download page 下载文件或 Thrift download archive
git checkout
repository 的分支
关于linux - ubuntu 14.04如何定位thrift安装目录?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33343306/