GithubHelp home page GithubHelp logo

run issue about deepconsensus HOT 5 CLOSED

google avatar google commented on May 17, 2024
run issue

from deepconsensus.

Comments (5)

pichuan avatar pichuan commented on May 17, 2024

Thank you for reporting this.
To be honest we have not tested on CentOS 7. I just tested and also wasn't able to get it to work, but the error I'm getting is different:

Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib64/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/home/pichuan/.local/lib/python3.6/site-packages/deepconsensus/__init__.py", line 35, in <module>
    from nucleus.io import bed
  File "/home/pichuan/.local/lib/python3.6/site-packages/nucleus/io/bed.py", line 62, in <module>
    from nucleus.io import genomics_reader
  File "/home/pichuan/.local/lib/python3.6/site-packages/nucleus/io/genomics_reader.py", line 68, in <module>
    from nucleus.io.python import tfrecord_reader
ImportError: libbz2.so.1.0: cannot open shared object file: No such file or directory

I also just try testing nucleus 0.5.8, which I suspect also didn't work on CentOS7.

We'll have to think about what to do with this. I'll keep this open for now.

from deepconsensus.

MartinPippel avatar MartinPippel commented on May 17, 2024

Thanks for your reply. I also got your problem. And after installing bzip2 in my conda environment this error was gone.

from deepconsensus.

pichuan avatar pichuan commented on May 17, 2024

Hi @MartinPippel ,
I can confirm that I was able to get around the libbz2 issue, by doing something a bit hacky like:

sudo ln -sf /usr/lib64/libbz2.so.1.0.6 /usr/lib64/libbz2.so.1.0

After that, I'm also seeing: "`GLIBC_2.23' not found".

Actually, this reminded me that this is probably part of Nucleus - I tested Nucleus 0.5.8 (which DeepConsensus builds on), and we have the same issue. CentOS7 has an older GLIBC, and that's why we're having the issue.

I think it is possible for us to build Nucleus and DeepConsensus in a way that is manylinux2010 compliant, and hopefully resolve this issue. I will add this to our list of tasks, but I don't know for sure when we can prioritize this.

Another approach we could try to take is to use Docker (more like what we did for DeepVariant) instead of pip wheels.

Either approach will take some time for us. @MartinPippel , given that I've filed an internal issue to track this, I'll close this for now. But please feel free to add more here.

from deepconsensus.

maximilianpress avatar maximilianpress commented on May 17, 2024

I am experiencing the same issue on CentOS7, Python 3.6.9, conda etc. All of the notable details appear to be the same (including bzip2 sub-issue).

from deepconsensus.

hzhang-2021 avatar hzhang-2021 commented on May 17, 2024

I think this is because the google-nucleus binary by pip was built under /lib64/libm.so.6: version 'GLIBC_2.23'.
the default centos7 only have /lib64/libm.so.6: version 'GLIBC_2.17'.
you have to recompile all that package from source.... that is very difficult job.

from deepconsensus.

Related Issues (20)

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.