justinzm / gopup

数据接口:百度、谷歌、头条、微博指数,宏观数据,利率数据,货币汇率,千里马、独角兽公司,新闻联播文字稿,影视票房数据,高校名单,疫情数据…
http://www.gopup.cn
2.55k stars 390 forks source link

partially initialized module 'gopup' has no attribute 'weibo_index' #20640

Closed shyandsy closed 3 years ago

shyandsy commented 3 years ago

这是什么问题

import gopup as gp

df_index = gp.weibo_index(word="疫情", time_type="3month")
print(df_index)

报错 AttributeError: partially initialized module 'gopup' has no attribute 'weibo_index' (most likely due to a circular import)

justinzm commented 3 years ago

测试没有问题 你更新最新版本 试试

shyandsy commented 3 years ago

尴尬了 我文件名写的不对 重名了