Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Plese help with this installation error

57 views
Skip to first unread message

Gargi Mishra

unread,
Sep 1, 2024, 12:53:03 AM9/1/24
to Biociphers

      g++ -pthread -B /home/gargim/anaconda3/compiler_compat -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gargim/anaconda3/include -fPIC -O2 -isystem /home/gargim/anaconda3/include -fPIC -DNPY_NO_DEPRECATED_API=0 -Irna_majiq/src/internals -Irna_majiq/c -I/tmp/pip-build-env-vve_ljz_/overlay/lib/python3.12/site-packages/numpy/_core/include -I/usr/local/include -I/home/gargim/env/include -I/home/gargim/anaconda3/include/python3.12 -c rna_majiq/src/build.cpp -o build/temp.linux-x86_64-cpython-312/rna_majiq/src/build.o -fopenmp -std=c++11

      In file included from rna_majiq/src/build.cpp:792:

      rna_majiq/src/internals/io_bam.hpp:8:10: fatal error: htslib/sam.h: No such file or directory

          8 | #include "htslib/sam.h"

            |          ^~~~~~~~~~~~~~

      compilation terminated.

      error: command '/usr/bin/g++' failed with exit code 1

      [end of output]

  

  note: This error originates from a subprocess, and is likely not a problem with pip.

  ERROR: Failed building wheel for rna-majiq

  Building wheel for rna-voila (pyproject.toml) ... done

  Created wheel for rna-voila: filename=rna_voila-2.5.7.dev1+g8ff62a93-py3-none-any.whl size=2512671 sha256=5ab4bf733852ae518aa9679fbc850d598357e0fd8de80bba356154715fcf5756

  Stored in directory: /tmp/pip-ephem-wheel-cache-_bt4pm03/wheels/3c/bd/4e/4b56f2f296892fa55720c6dfd188d650fe8c1b413d1f417f37

  Building wheel for gtfparse (pyproject.toml) ... done

  Created wheel for gtfparse: filename=gtfparse-2.0.1-py3-none-any.whl size=15286 sha256=f1ffd8342f8c81a66e195a33d2d78c35cf1e62d755f0951b4ff05ace25bd4a84

  Stored in directory: /home/gargim/.cache/pip/wheels/f5/39/84/d9a8a915a4618f8bac5360ca424cb8e12807ab9b754ae588d5

  Building wheel for intervaltree (pyproject.toml) ... done

  Created wheel for intervaltree: filename=intervaltree-3.1.0-py2.py3-none-any.whl size=26099 sha256=89fed4d6ce77bf66094225917f2a119730236f77fb712dc41d79226201ca4b95

  Stored in directory: /home/gargim/.cache/pip/wheels/65/c3/c3/238bf93c243597857edd94ddb0577faa74a8e16e9585896e83

  Building wheel for MarkupSafe (pyproject.toml) ... done

  Created wheel for MarkupSafe: filename=MarkupSafe-1.1.1-cp312-cp312-linux_x86_64.whl size=17536 sha256=3393352fdceba4ad8613627f4ee4b3add7146bb4d0c12d10d46f746f36ae8328

  Stored in directory: /home/gargim/.cache/pip/wheels/ff/6d/06/f08a8fbf292f9c43851e9d71174d98d1262f11ddaeb5dbe290

  Building wheel for psutil (pyproject.toml) ... done

  Created wheel for psutil: filename=psutil-5.6.7-cp312-cp312-linux_x86_64.whl size=220554 sha256=b8686ea3e82eb55cd449f4f841a0eeac49cff6decde9ec9282a0d875325d9ce5

  Stored in directory: /home/gargim/.cache/pip/wheels/df/95/b0/b9d8f670b3288382410f2b69d6cd6a6e3beae67f072608dec5

Successfully built rna_majiq_meta rna-voila gtfparse intervaltree MarkupSafe psutil

Failed to build rna-majiq

ERROR: Could not bui

San Jewell

unread,
Sep 4, 2024, 10:25:39 AM9/4/24
to Biociphers
Hi Gargim,

This is caused by a missing or not found HTSLIB on the system where you are installing. It can be solved by following the htslib installation instructions from the installation page you get to after registering on the majiq website. They are reiterated for example on this post:


Let me know if it helps,
-San
Reply all
Reply to author
Forward
0 new messages