Comments (9)
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.
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.
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.
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.
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.
@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.
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.
Fingers crossed that this is fixed in 0.3.22
from pybigwig.
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)
- RuntimeError: Invalid interval bounds
- Document performance considerations? HOT 4
- Cannot add entries of value type int, but only float HOT 2
- support for osx-arm64 HOT 2
- numpy support broken in 0.3.18? HOT 1
- Create a BedGraph file using addEntries() throws segmentation fault HOT 2
- library import error HOT 4
- pyBigWig fails to find numpy installation when installing from PyPI HOT 5
- Writing a nan value should leave a gap HOT 7
- Can't enforce numpy features when pyBigWig is used as a dependency in downstream package HOT 5
- pip installation broken HOT 4
- addHeader does not support multiple calls
- Support for python >=3.11 HOT 1
- Issue Downloading pyBigWig HOT 1
- Simple patch to resolve conflict with roundup() macro
- Stats Sum Not Working as Expected
- 'zsh: segmentation fault ' HOT 1
- Out of memory listing entries on one human chromosome on a machine with 300 GB ram and 165 GB BigBed file HOT 1
- pyBigWig.entries() should return empty array, not None when no entries are found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybigwig.