Python“spircle”包没有属性“unpack”

2024-10-05 12:53:28 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用刺痛包:https://github.com/cswaney/prickle

我使用自述文件中显示的命令安装了该包,但是当我尝试运行以下代码时,出现以下错误:“AttributeError:module'Spirkle'没有属性'unpack'”。另外,我在pk.read()命令中遇到以下错误:“AttributeError:module'spircle'没有属性'read'”

import prickle as pk

pk.unpack(fin='itch_010113.bin',
          ver=4.1,
          date='2013-01-01',
          fout='itch.hdf5',
          nlevels=10,
          names=['GOOG', 'AAPL'],
          method='hdf5')

有人能告诉我如何改正这些错误吗


Tags: https命令githubcomread属性错误hdf5

热门问题