Ask for help: the networkx==2.8.7 is incompatiblewith matplotlib==3.6.1

44 views
Skip to first unread message

caibo Zhou

unread,
Oct 14, 2022, 10:25:44 AM10/14/22
to networkx-discuss
just as the title, with i run the code withthe package version  networkx==2.8.7 is  incompatiblewith matplotlib==3.6.1: 

import networkx as nx
g = nx.karate_club_graph()
nx.draw(g)

it reminds me: The process has ended, exit code - 1066598274 (0xC06D007E)

David Menéndez Hurtado

unread,
Oct 14, 2022, 10:50:36 AM10/14/22
to networkx...@googlegroups.com
That looks like a coredump in mpl. Does matplotlib work at all? What system do you have? How is it installed?

/David 

--
You received this message because you are subscribed to the Google Groups "networkx-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to networkx-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/networkx-discuss/a68f11e9-0dc5-4fbd-a2ba-764762ce4a6dn%40googlegroups.com.

Caibo Zhou

unread,
Oct 15, 2022, 3:17:14 AM10/15/22
to networkx...@googlegroups.com
my system is WIN10 and I use python3.8 . All packages are installed via pip command

Caibo Zhou

在 2022年10月14日,22:50,David Menéndez Hurtado <david...@gmail.com> 写道:


You received this message because you are subscribed to a topic in the Google Groups "networkx-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/networkx-discuss/7FUUKPqoL34/unsubscribe.
To unsubscribe from this group and all its topics, send an email to networkx-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/networkx-discuss/CAJhcF%3D3pX%2BCOaVNZK2u6N5BHZkJ%2BrxX1SBN6bS_US1u8OwWsGA%40mail.gmail.com.

David Menéndez Hurtado

unread,
Oct 15, 2022, 9:28:03 AM10/15/22
to networkx...@googlegroups.com
And how did you install python?
Does matplotlib work at all?

You can also try WLS, in my very limited experience, it works better. 

Caibo Zhou

unread,
Oct 15, 2022, 9:18:47 PM10/15/22
to networkx...@googlegroups.com
Thanks for your help! I install python via conda ,and the matplotlib work well.

Caibo Zhou

在 2022年10月15日,21:28,David Menéndez Hurtado <david...@gmail.com> 写道:


Reply all
Reply to author
Forward
0 new messages