Package Details: python-graph-tool 2.18-1

Git Clone URL: https://aur.archlinux.org/python-graph-tool.git (read-only)
Package Base: python-graph-tool
Description: A Python module for manipulation and statistical analysis of graphs
Upstream URL: https://graph-tool.skewed.de
Keywords: graphs networks science
Licenses: GPL3
Conflicts: python3-graph-tool
Provides: python3-graph-tool
Replaces: python3-graph-tool
Submitter: muellner
Maintainer: count0
Last Packager: count0
Votes: 14
Popularity: 0.790669
First Submitted: 2013-11-24 19:22
Last Updated: 2016-07-21 22:15

Latest Comments

helvethor commented on 2016-06-26 19:06

I somehow had to install cairomm manually, but it worked after that.
Great work!

ptrxyz commented on 2016-04-20 13:05

You are right, I just went out for lunch and it has finished meanwhile. Sry for the false report. Everything seems fine.

count0 commented on 2016-04-20 12:21

@ptrxyz These warnings are not errors, and they are benign. They come from boost, not graph-tool, and hence cannot be fixed here.

Make does not hang, it just takes over an hour to compile. See more information here: https://graph-tool.skewed.de/download

If you have a lot of memory, you can speedup the compilation by passing "-jN" to make, with "N" being the number or parallel jobs.

ptrxyz commented on 2016-04-20 11:50

This seems to not build correctly. There is no error, but make indefinitely hangs and spits out messages like this over and over again:
...
In file included from /usr/include/boost/type_traits/ice.hpp:15:0,
from /usr/include/boost/python/detail/def_helper.hpp:9,
from /usr/include/boost/python/class.hpp:29,
from /usr/include/boost/python.hpp:18,
from graph_centrality_bind.cc:18:
/usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated
# pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated")
...

lahwaacz commented on 2016-04-07 18:58

@count0 Indeed, thanks for the notice and the fix.

count0 commented on 2016-04-06 06:37

@lahwaacz The problem you found should be fixed in the current release.

count0 commented on 2016-03-02 21:52

@lahwaacz Well, this module should not be executed, only imported. Since the module itself does not exist until it is finished being imported, any internal reference to "io" refers to the system module. I don't know why the Makefile that was generated in your system is attempting to do that; it certainly does not happen in mine.

However, I do acknowledge that naming the submodule io.py was not the best choice. I will change this in the next release.

lahwaacz commented on 2016-03-02 20:04

@count0 Actually, the problem seems to be the src/graph_tool/io.py file. Python needs to import the io module implicitly, which will not work when the interpreter is run from src/graph_tool/ since the io.py file overrides it. The py-compile script is run from src/graph_tool/ (according to the Makefile that was generated on my system), hence the error. I think you should rename io.py to something better...
See http://stackoverflow.com/q/26569828

count0 commented on 2016-03-02 11:33

@lahwaacz Very weird. Cannot reproduce here. Note that 'BytesIO' is a standard class in the 'io' module. The error does not make sense. I think there is something fishy with your python setup.

lahwaacz commented on 2016-02-26 22:08

I'm getting a strange error in the 'make install' phase:


Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "/home/lahwaacz/build/aur4/python-graph-tool/src/graph-tool-2.12/src/graph_tool/io.py", line 27, in <module>
ImportError: cannot import name 'BytesIO'
../../py-compile: line 136: 26813 Aborted (core dumped) $PYTHON -c "
import sys, os, py_compile, imp

files = '''$files'''

sys.stdout.write('Byte-compiling python modules...\n')
for file in files.split():
$pathtrans
$filetrans
if not os.path.exists(filepath) or not (len(filepath) >= 3
and filepath[-3:] == '.py'):
continue
sys.stdout.write(file)
sys.stdout.flush()
if hasattr(imp, 'get_tag'):
py_compile.compile(filepath, imp.cache_from_source(filepath), path)
else:
py_compile.compile(filepath, filepath + 'c', path)
sys.stdout.write('\n')"
Makefile:535: recipe for target 'install-graph_tool_centralityPYTHON' failed
make[3]: *** [install-graph_tool_centralityPYTHON] Error 134
make[3]: *** Waiting for unfinished jobs....

All comments