# Windows installation issue

**URL:** <https://igraph.discourse.group/t/windows-installation-issue/437>\
**Category:** Installation\
**Created:** [13 September 2020 03:02 UTC](https://igraph.discourse.group/t/windows-installation-issue/437 "2020-09-13T03:02:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhou\_Ze](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/zhou_ze/32/353_2.png) [@Zhou\_Ze](https://igraph.discourse.group/u/Zhou_Ze)\
**Post date:** [13 September 2020 03:02 UTC](https://igraph.discourse.group/t/windows-installation-issue/437/1 "2020-09-13T03:02:55Z")

</div>

I want to install igraph module at anaconda 3,8 on Windows system. But GraphML support is disabled, I cannot read GraphML file. So I decided to compile igraph package following the instructions on how to compile from source on Windows([https://igraph.org/python/](https://igraph.org/python/)). Everything goes well until " Open the MSYS2 shell, enter this folder and run `python setup.py build_c_core`". After running the command, I got some errors which show “Could not compile the C core of igraph”. Hope you can help with this problem, thanks.

 ![3](https://global.discourse-cdn.com/free1/uploads/igraph/original/1X/bae49b44ccb0f5d974501a1af83dcbb0c893f678.png)

---

<div class="post-metadata">

**Author:** ![tamas](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/tamas/32/1261_2.png) [@tamas](https://igraph.discourse.group/u/tamas)\
**Post date:** [14 September 2020 09:39 UTC](https://igraph.discourse.group/t/windows-installation-issue/437/2 "2020-09-14T09:39:25Z")

</div>

@vtraag Is GraphML support supposed to be disabled in the Anaconda Python package?

@Zhou_Ze It looks like you have not only GNU make but some other version of `make` in your PATH and this other version of `make` is shadowing GNU make. Can you please check whether you indeed have GNU make by running `make -v`? It should say “GNU make \<_some version number_\>”.

---

<div class="post-metadata">

**Author:** ![vtraag](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/vtraag/32/38_2.png) [@vtraag](https://igraph.discourse.group/u/vtraag)\
**Post date:** [14 September 2020 10:22 UTC](https://igraph.discourse.group/t/windows-installation-issue/437/3 "2020-09-14T10:22:10Z")

</div>

> [@tamas](#):
>
> @vtraag Is GraphML support supposed to be disabled in the Anaconda Python package?

Yes, I believe that is also the case for the provided binary wheels from PyPI. We should still get that working, but at the moment it requires quite some changes, and I have not managed to get it working yet. For Anaconda we could use the provided `libxml2`. It should be significantly easier once we have switched to Cmake.

Edit: this only concerns Windows, not any other platforms.

---

<div class="post-metadata">

**Author:** ![Zhou\_Ze](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/zhou_ze/32/353_2.png) [@Zhou\_Ze](https://igraph.discourse.group/u/Zhou_Ze)\
**Post date:** [16 September 2020 00:39 UTC](https://igraph.discourse.group/t/windows-installation-issue/437/4 "2020-09-16T00:39:27Z")

</div>

> [@tamas](#):
>
> GNU make

Thanks for your reply. When I run ‘make -v’ on MSYS2, it said there is no this command. So I install it manually via ‘pacman -S make’. Again, I go to the python-igraph folder and run “python setup.py build\_c\_core”. Then, it shows some UnicodeDecodeError in the following picture:

 ![5](https://global.discourse-cdn.com/free1/uploads/igraph/original/1X/e3c1b59604776ddb3ace8bd2b1aac496ae340257.png)

---

<div class="post-metadata">

**Author:** ![vtraag](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/vtraag/32/38_2.png) [@vtraag](https://igraph.discourse.group/u/vtraag)\
**Post date:** [16 September 2020 04:50 UTC](https://igraph.discourse.group/t/windows-installation-issue/437/5 "2020-09-16T04:50:01Z")

</div>

What version of Python are you running (inside `msys`)? i.e. simply run `python -v`.

Note that we are happy to talk you through compiling `igraph` on Windows, but the desired goal of enabling GraphML is not attainable at the moment. There is a reason it is disabled, namely that we couldn’t get it to work with the current build system and provided binaries of `libxml2`. We are working on changing the build system, which should also make it possible to enable GraphML support.

---

<div class="post-metadata">

**Author:** ![vtraag](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/vtraag/32/38_2.png) [@vtraag](https://igraph.discourse.group/u/vtraag)\
**Post date:** [18 September 2020 06:43 UTC](https://igraph.discourse.group/t/windows-installation-issue/437/6 "2020-09-18T06:43:51Z")

</div>

3 posts were split to a new topic: [Installation of igraph under cygwin](https://igraph.discourse.group/t/installation-of-igraph-under-cygwin/443)

---

<div class="post-metadata">

**Author:** ![vtraag](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/vtraag/32/38_2.png) [@vtraag](https://igraph.discourse.group/u/vtraag)\
**Post date:** [18 September 2020 06:44 UTC](https://igraph.discourse.group/t/windows-installation-issue/437/9 "2020-09-18T06:44:23Z")

</div>

4 posts were merged into an existing topic: [Installation of igraph under cygwin](https://igraph.discourse.group/t/installation-of-igraph-under-cygwin/443/4)
