Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

导入数据报错 #1

Open
ohblue opened this issue Jun 16, 2017 · 2 comments
Open

导入数据报错 #1

ohblue opened this issue Jun 16, 2017 · 2 comments

Comments

@ohblue
Copy link

ohblue commented Jun 16, 2017

(zipline_env) ❯ python mongodb.py
Traceback (most recent call last):
  File "mongodb.py", line 305, in <module>
    l.insert_zipline_treasure_format()
  File "mongodb.py", line 240, in insert_zipline_treasure_format
    self.treasure['treasure'].drop()
AttributeError: LoadDataCVS instance has no attribute 'treasure'
@fenggui321
Copy link

@ohblue mongodb.py文件里面conn函数在main被注释了。你打开去掉main部分注释就好了。

@liujinhao1988
Copy link

RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
Traceback (most recent call last):
File "/home/liujinhao/zipline-chinese/zipline/data/mongodb.py", line 301, in
l.insert_zipline_treasure_format()
File "/home/liujinhao/zipline-chinese/zipline/data/mongodb.py", line 240, in insert_zipline_treasure_format
self.treasure['treasure'].drop()
AttributeError: 'LoadDataCVS' object has no attribute 'treasure'

去掉了也不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants