Open YannBachelot opened 3 years ago
Hello,
So, unfortunately the underlying c code is from the original authors of the LFR paper which I only lightly modified and I do not believe they provided much cross-platform support. If you want to use the LFR benchmark graphs I highly recommend using the newest version of NetworkX which has a well supported Python implementation of those generators.
If you are using the other graph generators (SBM, or HMN, or bipartite) then I would just copy that code into your own, since it is Python only and contained only in those individual files.
On Thu, Mar 18, 2021, 4:57 AM YannBachelot @.***> wrote:
Hi, First of all, thanks for this interesting project.
I am working on windows with visual studio and anaconda environment, and I am not able to install correctly the package.
From the error I get, it seems that the '-Wno-write-strings' argument in the extra_compile_args in the setup.py file is not supported. "error D8021 : numeric argument invalid '/Wno-write-strings'"
Do you know how could I overcome this problem?
Thank you for your help !
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Nathaniel-Rodriguez/graphgen/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFBEKXAD7UMJDR44IJR52LTEHFBFANCNFSM4ZMJD4JQ .
Thank you for your quick answer!
I am using the LFR benchmark graphs indeed but I was interested in the weighted and overlapping communities options, which are not implemented in Networkx I believe.
Thanks again for the help.
Have a nice day!
Hi,
I was also interested in using this library on Windows, so I attempted to get it to compile. I managed to install it on Windows by making a few changes, and I uploaded it to a repository as I may need to install it again in the future. Perhaps this could be useful to you as well: https://github.com/luanvcmartins/graphgen
This is the list of changes that I made to the "setup.py" and the original code (it's just the way arrays are instantiated): https://github.com/luanvcmartins/graphgen/commit/4a2166934f17ebaff94683ccf94ea245782b3552 I am not sure if my "patch" is cross-platform or only works on Windows or if it exclusively works on my machine, but this could be a starting point for anyone that wants to patch a version of their own.
Thanks to @Nathaniel-Rodriguez for making this great Python API. It has been very useful.
Hi, First of all, thanks for this interesting project.
I am working on windows with visual studio and anaconda environment, and I am not able to install correctly the package.
From the error I get, it seems that the '-Wno-write-strings' argument in the extra_compile_args in the setup.py file is not supported. "error D8021 : numeric argument invalid '/Wno-write-strings'"
Do you know how could I overcome this problem?
Thank you for your help !