Skip to content

error while importing "from ts2vg import NaturalVG" #21

Description

@sahaj432

I also tried to downgrade numpy library


ValueError Traceback (most recent call last)
Input In [2], in <cell line: 1>()
----> 1 from ts2vg import NaturalVG

File ~/.local/lib/python3.9/site-packages/ts2vg/init.py:2, in
1 from ts2vg._version import version
----> 2 from ts2vg.graph.natural import NaturalVG
3 from ts2vg.graph.horizontal import HorizontalVG
5 all = [
6 'NaturalVG',
7 'HorizontalVG',
8 ]

File ~/.local/lib/python3.9/site-packages/ts2vg/graph/natural.py:3, in
1 from typing import Optional
----> 3 from ts2vg.graph._natural import _compute_graph as _compute_graph_dc
4 from ts2vg.graph._natural_penetrable import _compute_graph as _compute_graph_pn
5 from ts2vg.graph.base import VG

File ts2vg/graph/_natural.pyx:1, in init ts2vg.graph._natural()

ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 232 from C header, got 216 from PyObject

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions