Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • emalandrak
    Member
    • Jan 2014
    • 11

    Trans-abyss help

    Hello

    I have some trouble running Trans-Abyss 1.5.2. After installing Abyss with:
    sudo apt-get install abyss and running make in the prereqs folder, Trans-abyss outputs the following error:

    Traceback (most recent call last):
    File "./transabyss", line 19, in <module>
    from utilities.adj_utils import has_edges
    File "/home/genetic/Desktop/transabyss-1.5.2/utilities/adj_utils.py", line 10, in <module>
    from igraph import Graph
    ImportError: cannot import name Graph

    Does anybody have an idea why this happens? I work in Ubuntu platform and I am not informatician.
    Thank you in advance.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Looks like you are missing python-igraph: http://igraph.org/python/.

    Comment

    • emalandrak
      Member
      • Jan 2014
      • 11

      #3
      Dear GenoMAx

      Thank you for your answer. I ran the dpkg command and igraph seems to be installed.

      Package: python-igraph
      Status: install ok installed
      Priority: extra
      Section: python
      Installed-Size: 1492
      Maintainer: Ubuntu Developers <[email protected]>
      Architecture: amd64
      Version: 0.6.5-1
      Provides: python2.7-igraph
      Depends: python (>= 2.7.1-0ubuntu2), python (<< 2.8), libc6 (>= 2.4), libigraph0
      Description: High performance graph data structures and algorithms
      Python interface to the igraph high performance graph library, primarily
      aimed at complex network research and analysis.
      .
      Graph plotting functionality is provided by the Cairo library, so make
      sure you install the Python bindings of Cairo if you want to generate
      publication-quality graph plots.
      Original-Maintainer: Debian Python Modules Team <[email protected]>
      Homepage: http://igraph.sourceforge.net/

      Do you have any other thoughts?
      Thank you
      Emmanouil

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Do you know what version of python you are using on your system? Output for the following commands.

        Code:
        $ which python
        $ python --version

        Comment

        • emalandrak
          Member
          • Jan 2014
          • 11

          #5
          Dear GenoMax

          Its Python 2.7.6.

          Emmanouil

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            That is the right python. Is that the only error you are seeing? Nothing else in the log?

            Are you able to do?

            Code:
            $ python
            >>> import igraph

            Comment

            • emalandrak
              Member
              • Jan 2014
              • 11

              #7
              I think its OK. No error with that. It seems that igraph is imported.

              genetic@genetic-PC:~$ python
              Python 2.7.6 (default, Mar 22 2014, 22:59:56)
              [GCC 4.8.2] on linux2
              Type "help", "copyright", "credits" or "license" for more information.
              >>> import igraph
              >>>

              Yes that's the error with transabyss.
              No errors with transabyss-analyze or transabyss-merge.

              Comment

              Latest Articles

              Collapse

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Today, 10:09 AM
              0 responses
              9 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, Yesterday, 08:59 AM
              0 responses
              17 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-02-2026, 12:03 PM
              0 responses
              25 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-02-2026, 11:40 AM
              0 responses
              21 views
              0 reactions
              Last Post SEQadmin2  
              Working...