-
Notifications
You must be signed in to change notification settings - Fork 13
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
error while importing "from ts2vg import NaturalVG" #21
Comments
I can't reproduce it. What version of |
hello , I am trying to install ts2vg using pip install ts2vg but I get this error. Installing build dependencies ... done × Getting requirements to build wheel did not run successfully. |
Hi @nhaboudal, if your error happens during installation, and not during import, consider opening a separate issue. |
I also had the same problem, from ts2vg import NaturalVG reported an error, showing that it was not compatible with numpy, this error may indicate a binary incompatibility between different versions of numpy.I wonder which is your numpy version |
numpy==1.21.0 ts2vg==1.2.2 |
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
The text was updated successfully, but these errors were encountered: