参考链接:https://github.com/Thriftpy/thriftpy/issues/234
Python操作Hbase导入库时报错
Python版本:3.7.1
root cause:源码在解析url的时候出现的错误
解决办法:修改
#if url_scheme == '':
if len(url_scheme) <= 1:
with open(path) as fh:
data = fh.read()

至此,问题解决