解决Python运行Hbase报错“ThriftPy”

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文件

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

  重新运行即可

猜你喜欢

转载自blog.csdn.net/han0373/article/details/81264070
今日推荐