Coder Social home page Coder Social logo

ldpop's Issues

error when run "python -m pytest pyrho/tests/tests.py"

Hi,
I am installing the pyrho-0.1.6, and the final message told me that "Successfully installed pyrho-0.1.6". But when I tested with "python -m pytest pyrho/tests/tests.py" and it gave me the error like below:

========================================================================================================= test session starts =========================================================================================================
platform linux -- Python 3.8.3, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: /panfs/roc/groups/9/morrellp/llei/software/pyrho
collected 0 items / 1 error                                                                                                                                                                                                           

=============================================================================================================== ERRORS ================================================================================================================
___________________________________________________________________________________________________ ERROR collecting tests/tests.py ___________________________________________________________________________________________________
pyrho/tests/tests.py:20: in <module>
    from pyrho.optimizer import _rose_alg, _stitch
/home/morrellp/llei/.local/lib/python3.8/site-packages/pyrho/optimizer.py:24: in <module>
    from pyrho.haplotype_reader import (genos_to_configs, parse_vcf_to_genos,
/home/morrellp/llei/.local/lib/python3.8/site-packages/pyrho/haplotype_reader.py:16: in <module>
    from cyvcf2 import VCF
/home/morrellp/llei/.local/lib/python3.8/site-packages/cyvcf2/__init__.py:1: in <module>
    from .cyvcf2 import (VCF, Variant, Writer, r_ as r_unphased, par_relatedness,
cyvcf2/cyvcf2.pyx:1: in init cyvcf2.cyvcf2
    ???
E   ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 80 from PyObject
======================================================================================================= short test summary info =======================================================================================================
ERROR pyrho/tests/tests.py - ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 80 from PyObject
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================================================================================== 1 error in 28.75s ==========================================================================================================

Could you please help me figure out what is wrong?
Thanks.
Cheers,
Li

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.