Skip to content
Advertisement

Problems Installing Python igraph

I installed the igraph python library using pip

JavaScript

I go on the Python console/terminal and import the module

JavaScript

No problem. Then I test to see the version number

JavaScript

No problem there either. But when I try to create a script.

JavaScript

And execute

JavaScript

or

JavaScript

All i get is

JavaScript

Advertisement

Answer

Try this, as your script:

JavaScript

Global imports are generally not encouraged.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement