Hi Hassan,

This error typically means that you've changed numpy versions recently, perhaps in between compiling the various forms of the code.  Can you try cleaning your repository and building again?

On Fri, Feb 19, 2021 at 8:07 AM <h.fathie@gmail.com> wrote:
Dear all,

I have installed yt and its associated rockstar but when I execute the following command:

from yt.analysis_modules.halo_finding.rockstar import rockstar_interface

I get the following error:

>>> from yt.analysis_modules.halo_finding.rockstar import rockstar_interface
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pc/yt-conda/src/yt-git/yt/__init__.py", line 21, in <module>
    from yt.data_objects.api import (
  File "/home/pc/yt-conda/src/yt-git/yt/data_objects/api.py", line 1, in <module>
    from . import construction_data_containers as __cdc, selection_objects as __sdc
  File "/home/pc/yt-conda/src/yt-git/yt/data_objects/construction_data_containers.py", line 15, in <module>
    from yt.data_objects.selection_objects.data_selection_objects import (
  File "/home/pc/yt-conda/src/yt-git/yt/data_objects/selection_objects/__init__.py", line 1, in <module>
    from .boolean_operations import (
  File "/home/pc/yt-conda/src/yt-git/yt/data_objects/selection_objects/boolean_operations.py", line 5, in <module>
    from yt.data_objects.selection_objects.data_selection_objects import (
  File "/home/pc/yt-conda/src/yt-git/yt/data_objects/selection_objects/data_selection_objects.py", line 11, in <module>
    from yt.data_objects.data_containers import YTDataContainer
  File "/home/pc/yt-conda/src/yt-git/yt/data_objects/data_containers.py", line 8, in <module>
    from yt.data_objects.profiles import create_profile
  File "/home/pc/yt-conda/src/yt-git/yt/data_objects/profiles.py", line 14, in <module>
    from yt.utilities.lib.misc_utilities import (
  File "yt/utilities/lib/misc_utilities.pyx", line 1, in init yt.utilities.lib.misc_utilities
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
>>>

I would be grateful if some one could help me with this issue.

With best regards,
Hassan
_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org
https://mail.python.org/mailman3/lists/yt-users.python.org/
Member address: matthewturk@gmail.com