python3-packages aren't installable in ubuntu?

As for 12.10 (quantal), python3-graph-tool depends on python3-matplotlib, but
there is no such a package in quantal repositories.

As for 13.04 (raring), there is no python3-graph-tool package at all.

Is there a way to use graph-tool with python3 in ubuntu without building it
from source and packing .deb myself? Or am I missing something?

Thanks in advance,
Anatol

As for 12.10 (quantal), python3-graph-tool depends on python3-matplotlib, but
there is no such a package in quantal repositories.

I suppose I should make this dependency optional, since it is needed
only for graph drawing. However, it is a bug in Ubuntu Quantal that this
package is not provided. A fully function graph-tool will only be
available one this missing package is available.

As for 13.04 (raring), there is no python3-graph-tool package at all.

There was an issue compiling it with Python 3, relating to the naming of
the Python include/library directories, and I didn't have the time to
investigate it. I should be an easy fix, however.

Is there a way to use graph-tool with python3 in ubuntu without building it
from source and packing .deb myself? Or am I missing something?

Yes, proper packages for Python 3 in Ubuntu are currently
unavailable. This is partially my fault, and I'll try to fix things up.

Cheers,
Tiago

As for 12.10 (quantal), python3-graph-tool depends on python3-matplotlib, but
there is no such a package in quantal repositories.

I suppose I should make this dependency optional, since it is needed
only for graph drawing. However, it is a bug in Ubuntu Quantal that this
package is not provided. A fully function graph-tool will only be
available one this missing package is available.

As for 13.04 (raring), there is no python3-graph-tool package at all.

There was an issue compiling it with Python 3, relating to the naming of
the Python include/library directories, and I didn't have the time to
investigate it. I should be an easy fix, however.

one now needs to include two locations:
/usr/include/python3.X/
/usr/include/$MULTIARCH/python3.X/
but we recently added a compat header such that it now should work out
of the box as before, without any modifications.

As for 13.04 (raring), there is no python3-graph-tool package at all.

There was an issue compiling it with Python 3, relating to the naming of
the Python include/library directories, and I didn't have the time to
investigate it. I should be an easy fix, however.

one now needs to include two locations:
/usr/include/python3.X/
/usr/include/$MULTIARCH/python3.X/
but we recently added a compat header such that it now should work out
of the box as before, without any modifications.

Thanks for the info. I included

    CPPFLAGS += -I/usr/include/${DEB_HOST_MULTIARCH}/python3.3m/
    LDFLAGS += -L/usr/lib/python3.3/config-3.3m-${DEB_HOST_MULTIARCH}/

in the rules file, and now it is compiling. However, things are _not_
running out of the box. Without these flags, the compiler does not find
pyconfig.h and the .so library file.

Is there a way to use graph-tool with python3 in ubuntu without building it
from source and packing .deb myself? Or am I missing something?

Yes, proper packages for Python 3 in Ubuntu are currently
unavailable. This is partially my fault, and I'll try to fix things up.

I forgot to mention that a python 3 package _is_ available for the
'precise' version, so that is a last resort. But I'm currently compiling
the new packages for the other versions, so this should be fixed soon.

Cheers,
Tiago

Yes, proper packages for Python 3 in Ubuntu are currently
unavailable. This is partially my fault, and I'll try to fix things up.

I've just uploaded fixed Python 3 packages for Ubuntu raring and
quantal.

Cheers,
Tiago

Thanks a lot for quick response!
Installation is easy now, but when I try to import the module, I get

anatol(a)ubuntu:~/Dropbox/graph$ python3 test2.py
Traceback (most recent call last):
  File "test2.py", line 1, in
<module>
    import graph_tool.all as gt
  File "/usr/lib/python3/dist-packages/graph_tool/__init__.py", line 100,
in
<module>
    dl_import("from . import libgraph_tool_core as libcore")
  File "/usr/lib/python3/dist-packages/graph_tool/dl_import.py", line 57,
in dl_import
    exec(import_expr, local_dict, global_dict)
  File "
<string>
", line 1, in
<module>
ImportError: /usr/lib/libboost_python-py27.so.1.49.0: undefined symbol:
PyClass_Type

I'm not very good in the black magic of python modules distribution and
can't figure out the whole mechanics right now.
According to 'py27', I suppose that the wrong .so is linked. There is a
/usr/lib/libboost_python-py33.so.1.49.0 that seems to be the correct one.

Is there a way to fix this in place?

Best regards,
Anatol

Ugh, it indeed seems the wrong library was used in the raring packages
(quantal seems fine). You cannot fix this in-place. I'm rebuilding the
package right now, and I'll upload it when it is done.

Cheers,
Tiago

The new packages were uploaded, and seem to be working fine.

Cheers,
Tiago

I really appreciate that.

You're making the fastest support I ever seen. Thank you!