ts2vg
ts2vg copied to clipboard
error while importing "from ts2vg import NaturalVG"
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
File ~/.local/lib/python3.9/site-packages/ts2vg/graph/natural.py:3, in
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
I can't reproduce it.
What version of numpy
do you have installed? And what version of ts2vg
?
hello , I am trying to install ts2vg using pip install ts2vg but I get this error. Im using visual code studio and python 3.11
Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× 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. Make sure to provide a complete error log, and details about what operating system you are using. Thanks!
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
我也有同样的问题,从 ts2vg 导入 NaturalVG 报告了一个错误,表明它与 numpy 不兼容,此错误可能表明不同版本的 numpy 之间的二进制不兼容。我想知道哪个是你的数字版本
numpy==1.21.0 ts2vg==1.2.2