ThriftPy does not support generating module with path in protocol 'c' 问题

使用happybase,安装之后运行,提示“ ThriftPy does not support generating module with path in protocol 'c'”

主要是源码在解析url的时候出现错误,解决方法如下:

修改windows端中的parser代码,找到Python的安装路径,parser.py文件

解决Python运行Hbase报错“ThriftPy”

修改其中的488行为如下情况:

解决Python运行Hbase报错“ThriftPy”

 

  重新运行即可

相关文章: