ZigZag icon indicating copy to clipboard operation
ZigZag copied to clipboard

I got an error when importing the zigzag lib

Open lvvdat opened this issue 2 years ago • 6 comments

I got an error when importing the zigzag lib:

ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use 'numpy._import_array' to disable if you are certain you don't need it).

lvvdat avatar Aug 08 '22 10:08 lvvdat

It seems that under Windows, I also got this error.

TENGBINN avatar Aug 09 '22 06:08 TENGBINN

Yup, same here

wojtekjakubo avatar Aug 11 '22 11:08 wojtekjakubo

same -- only way I can get it to work is in it's own library, but then it breaks basically everything else I try installing.

zoakes avatar Aug 20 '22 03:08 zoakes

I had the same issue after installing seaborn by conda, which downgraded numpy to 1.21.5. After upgrading numpy back to 1.23.1, didn't get the error.

ozanzgur avatar Sep 17 '22 09:09 ozanzgur

I uninstalled numpy=1.23 and I tried numpy==1.21.5 and 1.21.6 .. not working then upgraded NumPy to the latest version (1.23.4). it worked thanks @ozanzgur

azamkamranian avatar Nov 08 '22 17:11 azamkamranian

Honestly, I found it easier to just pull the source and rewrite it myself. Not ideal — but whatever.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Azam @.> Sent: Tuesday, November 8, 2022 11:51:55 AM To: jbn/ZigZag @.> Cc: Zach Mazz @.>; Comment @.> Subject: Re: [jbn/ZigZag] I got an error when importing the zigzag lib (Issue #27)

I uninstalled numpy=1.23 and I tried numpy==1.21.5 and 1.21.6 .. not working then upgraded NumPy to the latest version (1.23.4). it worked thanks @ozanzgurhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fozanzgur&data=05%7C01%7C%7C8c5bd4e32a7e4e3afd4608dac1b1ed4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638035267178946390%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UKnnHRjW0KYhfIEHo4Y%2BLbaYiXSW25j0g3Jpo0IVWvE%3D&reserved=0

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjbn%2FZigZag%2Fissues%2F27%23issuecomment-1307609558&data=05%7C01%7C%7C8c5bd4e32a7e4e3afd4608dac1b1ed4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638035267178946390%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=v4Xdjp%2B3AZhP0%2Ffj%2Box7cUOBFA1sWIZl2SSnGTY5Tvo%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALPUCID7PRUOAR3VUVEYS6LWHKHLXANCNFSM554RZ3AQ&data=05%7C01%7C%7C8c5bd4e32a7e4e3afd4608dac1b1ed4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638035267178946390%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2t6TKrH3%2FReoTXEqJdir92a64%2BXyX4KSjiFXwRF0Bsc%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>

zoakes avatar Nov 08 '22 18:11 zoakes