python - 我的 thrift ./configure 不构建 python 库

标签 python thrift

我是 thrift 的新手,正在尝试将它安装到我的 mac 中。所以我下载了新版本 0.9.3,运行 ./configure。但输出如下:

thrift 0.9.3

Building C++ Library ......... : yes
Building C (GLib) Library .... : no
Building Java Library ........ : yes
Building C# Library .......... : no
Building Python Library ...... : no
Building Ruby Library ........ : no
Building Haxe Library ........ : no
Building Haskell Library ..... : no
Building Perl Library ........ : yes
Building PHP Library ......... : yes
Building Erlang Library ...... : no
Building Go Library .......... : no
Building D Library ........... : no
Building NodeJS Library ...... : no
Building Lua Library ......... : no

但是,实际上它已经成功检查了 python env,如下所示:

checking for a Python interpreter with version >= 2.4... python
checking for python... /Library/Frameworks/Python.framework/Versions/2.7/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages

我还需要做什么?

最佳答案

不知道它是否有帮助(旧帖子),但在 0.9.3 中,配置脚本检查是否存在 trial 和 python 以确定是否必须构建 python 库 => 检查 trial 是否可用,或者安装 python-twisted 以获得你想要的。

关于python - 我的 thrift ./configure 不构建 python 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37672187/

相关文章:

python - 如何返回特定键的字典值的公共(public)值?

python - 如何使用 itertools.groupby()?

python 列表理解 : return a list of strings instead of a list of lists

docker - docker-compose 中的端口转发

Python-满足不同条件时如何从变量中选择

python - 如何在上下文管理器中捕获异常?

c++ - 用 C++ 编写的 Apache Thrift 服务器抛出 TTransportException

python - Pycharm找不到Thrift ttypes文件

centos - Apache Thrift 0.9.0 不会按照说明进行配置

c++ - 序列化/反序列化 C++ 类