# No package 'igraph' is found

**URL:** <https://igraph.discourse.group/t/no-package-igraph-is-found/826>\
**Category:** Installation\
**Tags:** Python\
**Created:** [29 August 2021 16:55 UTC](https://igraph.discourse.group/t/no-package-igraph-is-found/826 "2021-08-29T16:55:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![111](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/111/32/541_2.png) [@111](https://igraph.discourse.group/u/111)\
**Post date:** [29 August 2021 16:55 UTC](https://igraph.discourse.group/t/no-package-igraph-is-found/826/1 "2021-08-29T16:55:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![szhorvat](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/szhorvat/32/3_2.png) [@szhorvat](https://igraph.discourse.group/u/szhorvat)\
**Post date:** [29 August 2021 17:05 UTC](https://igraph.discourse.group/t/no-package-igraph-is-found/826/2 "2021-08-29T17:05:32Z")

</div>

What exactly are you trying to do?

> [@111](#):
>
> I’m new in Python.

If you want to use the Python interface of igraph, it is easiest to install a binary wheel. See [python-igraph manual](https://igraph.org/python/#startpy) There is no need to build python-igraph yourself.

---

<div class="post-metadata">

**Author:** ![111](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/111/32/541_2.png) [@111](https://igraph.discourse.group/u/111)\
**Post date:** [29 August 2021 17:08 UTC](https://igraph.discourse.group/t/no-package-igraph-is-found/826/3 "2021-08-29T17:08:30Z")

</div>

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

 ![photo_2021-08-29_20-08-09](https://global.discourse-cdn.com/free1/uploads/igraph/original/1X/7652eeee1030fbfb1b6785f22a13837b4460b1db.jpeg)

---

<div class="post-metadata">

**Author:** ![szhorvat](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/szhorvat/32/3_2.png) [@szhorvat](https://igraph.discourse.group/u/szhorvat)\
**Post date:** [29 August 2021 17:11 UTC](https://igraph.discourse.group/t/no-package-igraph-is-found/826/4 "2021-08-29T17:11:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![111](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/111/32/541_2.png) [@111](https://igraph.discourse.group/u/111)\
**Post date:** [29 August 2021 17:12 UTC](https://igraph.discourse.group/t/no-package-igraph-is-found/826/5 "2021-08-29T17:12:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![111](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/111/32/541_2.png) [@111](https://igraph.discourse.group/u/111)\
**Post date:** [29 August 2021 17:13 UTC](https://igraph.discourse.group/t/no-package-igraph-is-found/826/6 "2021-08-29T17:13:22Z")

</div>

Can you please help me?

---

<div class="post-metadata">

**Author:** ![szhorvat](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/szhorvat/32/3_2.png) [@szhorvat](https://igraph.discourse.group/u/szhorvat)\
**Post date:** [29 August 2021 17:13 UTC](https://igraph.discourse.group/t/no-package-igraph-is-found/826/7 "2021-08-29T17:13:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![111](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/111/32/541_2.png) [@111](https://igraph.discourse.group/u/111)\
**Post date:** [29 August 2021 17:14 UTC](https://igraph.discourse.group/t/no-package-igraph-is-found/826/8 "2021-08-29T17:14:15Z")

</div>

Okay! Thank you so much!
