Reputation: 2419
I am a newbie in python but I got a code in python that I got to run it
from graph import Graph, Task
in this line, I have an error saying
No module named 'graph'
how can I fix this? thanks for your time and effort
Upvotes: 0
Views: 6369
Reputation: 196
It may be because it is a typo as per my knowledge, the right name of the module is 'graphs' or 'graphviz' and not 'graph'
or may be you have not installed the module
you have to install module 'graph' on your system using 'pip' through cmd
Upvotes: 1