Skip to content

RuntimeWarning: pysam.libcalignedsegment.PileupColumn size changed, may indicate binary incompatibility. Expected 72 from C header, got 88 from PyObject #112

Description

@Nilad

Same issue than #105

I install pysamstats on Singularity container.
I tried multiples version of pysamstats, cython, pysam with pip and with conda without succes.

Here my last try, if you can help me on that point.

INSTALL

python3 -m pip install --no-cache-dir pysamstats
Collecting pysamstats
  Downloading pysamstats-1.1.2.tar.gz (251 kB)
     |################################| 251 kB 3.1 MB/s 
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting pysam<0.16
  Downloading pysam-0.15.4-cp36-cp36m-manylinux2010_x86_64.whl (10.7 MB)
     |################################| 10.7 MB 4.9 MB/s 
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from pysamstats) (1.13.3)
Building wheels for collected packages: pysamstats
  Building wheel for pysamstats (PEP 517) ... done
  Created wheel for pysamstats: filename=pysamstats-1.1.2-cp36-cp36m-linux_x86_64.whl size=943862 sha256=9a34d1ddfaf42590a2a5d7a6eec221a66e9f0daadf0b825d4e9639201bde054a
  Stored in directory: /tmp/pip-ephem-wheel-cache-yht4rllm/wheels/3b/dd/a8/4e343b4884ef154f6e5e695ce7aec996ab25ed54def89dd3a5
Successfully built pysamstats
Installing collected packages: pysam, pysamstats
Successfully installed pysam-0.15.4 pysamstats-1.1.2

RUN

Python 3.6.9 (default, Oct  8 2020, 12:12:24) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysam
>>> pysam.__version__
'0.15.4'
>>> import pysamstats
/usr/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: pysam.libcalignedsegment.PileupColumn size changed, may indicate binary incompatibility. Expected 72 from C header, got 88 from PyObject
  return f(*args, **kwds)
>>> pysamstats.__version__
'1.1.2'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions