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

ValueError: numpy.ndarray size changed #204

Open
Djangu-algo opened this issue Sep 14, 2021 · 0 comments
Open

ValueError: numpy.ndarray size changed #204

Djangu-algo opened this issue Sep 14, 2021 · 0 comments

Comments

@Djangu-algo
Copy link

Hi,

Following an example from here manual gives the following error. Although the Python version is 3.9 instead of the recommended 3.6 I thought that raising this issue may be beneficial.

Kind regards,
Djangu

~/.local/lib/python3.9/site-packages/zipline/data/bundles$ python3 alpaca_api.py
Traceback (most recent call last):
  File "/home/user1/.local/lib/python3.9/site-packages/zipline/data/bundles/alpaca_api.py", line 12, in <module>
    import zipline.config
  File "/home/user1/.local/lib/python3.9/site-packages/zipline/__init__.py", line 29, in <module>
    from .utils.run_algo import run_algorithm
  File "/home/user1/.local/lib/python3.9/site-packages/zipline/utils/run_algo.py", line 24, in <module>
    from zipline.data import bundles
  File "/home/user1/.local/lib/python3.9/site-packages/zipline/data/bundles/__init__.py", line 2, in <module>
    from . import quandl  # noqa
  File "/home/user1/.local/lib/python3.9/site-packages/zipline/data/bundles/quandl.py", line 16, in <module>
    from . import core as bundles
  File "/home/user1/.local/lib/python3.9/site-packages/zipline/data/bundles/core.py", line 13, in <module>
    from ..adjustments import SQLiteAdjustmentReader, SQLiteAdjustmentWriter
  File "/home/user1/.local/lib/python3.9/site-packages/zipline/data/adjustments.py", line 29, in <module>
    from ._adjustments import load_adjustments_from_sqlite
  File "zipline/data/_adjustments.pyx", line 1, in init zipline.data._adjustments
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
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

1 participant