No package 'igraph' is found

When I type this: pkg-config --cflags --libs igraph

the next thing appears:

Package igraph was not found in the pkg-config search path.
Perhaps you should add the directory containing `igraph.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘igraph’ found

How to solve this? Please help. I’m new in Python.

What exactly are you trying to do?

If you want to use the Python interface of igraph, it is easiest to install a binary wheel. See python-igraph There is no need to build python-igraph yourself.

Thank you for a quick response! I was on this step and after that can’t proceed further cause error occurs

Why do you want to build python-igraph yourself? Why are you not using the binary wheels, as I suggested?

Since I’m a newbie, I don’t really understand how to do it :frowning:

Can you please help me?

Per the instructions I linked to, use

pip install python-igraph

This is at the very top of the getting started guide.

Do not try to compile from source, especially on Windows, and especially if you are new.

Okay! Thank you so much!