Coder Social home page Coder Social logo

Comments (9)

XuanrZhang avatar XuanrZhang commented on July 18, 2024 1

Hi @callum-b,

I met the same problem. I think there is something wrong with the latest version.
I tried to install an earlier version(0.3.18), and it works for me.

Best,
Xuan

from pybigwig.

XuanrZhang avatar XuanrZhang commented on July 18, 2024 1

Thanks for the reply @XuanrZhang ! I tried that but then I get a numpy error about np.float being deprecated. What version of numpy do you have? And did you install just pyBigWig 0.3.18, or did you get a whole different DeepTools release?

Hi Cal, my numpy version is 1.23.5. I just installed pyBigWig not the whole Deeptools release.

from pybigwig.

dpryan79 avatar dpryan79 commented on July 18, 2024 1

conda create -n deeptools_3.5.1 -c conda-forge -c bioconda deeptools=3.5.1 will give you a clean environment with deeptools, pyBigWig and all other dependencies. I'll look into the issue you reported though, since that's going to bite a number of people :(

from pybigwig.

callum-b avatar callum-b commented on July 18, 2024

Thanks for the reply @XuanrZhang !
I tried that but then I get a numpy error about np.float being deprecated. What version of numpy do you have?
And did you install just pyBigWig 0.3.18, or did you get a whole different DeepTools release?

from pybigwig.

dpryan79 avatar dpryan79 commented on July 18, 2024

Thanks for letting me know. This switch to using wheels is a real pain. If you're using this for deepTools, is there a reason you're installing that with pip rather than conda? The latter is generally preferred for all packages.

from pybigwig.

callum-b avatar callum-b commented on July 18, 2024

@dpryan79 personally, I'm just not a big conda user and am not familiar with it enough to use for most stuff.
However, while looking at workarounds for this issue, I also looked at installing DeepTools and/or pyBigWig using conda, also to no avail. But seeing as I'm not intimate with that system and explored the pip install issue more, I kept my issue constrained to just this.

from pybigwig.

dpryan79 avatar dpryan79 commented on July 18, 2024

I've made the first baby step and determined why it's not finding the module. The .so file in the wheel has a "37m" in the name since it is built automatically under python 3.7. Apparently that needs to be changed since that string needs to match the python version used on the installation side...which will very rarely be python 3.7 at the moment. I just need to figure out how to change this to use manylinux instead.

from pybigwig.

dpryan79 avatar dpryan79 commented on July 18, 2024

Fingers crossed that this is fixed in 0.3.22

from pybigwig.

dpryan79 avatar dpryan79 commented on July 18, 2024

A quick test with python 3.11 suggests that this is now working properly. Please comment and reopen the issue if this is still not working on your end!

from pybigwig.

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.