liu-bioinfo-lab / caesar

An accurate and interpretable computational model for predicting nucleosome resolution chromatin contact maps
MIT License
10 stars 1 forks source link

Windows好像安装不了pyBigWig包呢?我看了pyBigWig好像也只有Linux版本的。pip/conda install都安装不了 #5

Open beixun2023 opened 2 months ago

beixun2023 commented 2 months ago

C:\Users\北寻\pyBigWig-0.3.17>python setup.py install C:\Users\北寻\pyBigWig-0.3.17\setup.py:8: DeprecationWarning:

numpy.distutils is deprecated since NumPy 1.23.0, as a result of the deprecation of distutils itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use setuptools < 60.0 for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html

from numpy.distutils.misc_util import get_info Traceback (most recent call last): File "C:\Users\北寻\pyBigWig-0.3.17\setup.py", line 24, in for e in sysconfig.get_config_vars('BLDLIBRARY')[0].split(): AttributeError: 'NoneType' object has no attribute 'split'

dmcbffeng commented 2 months ago

Hello, Unfortunately pyBigWig only supports Linux. The easiest solution might be setting up a Linux subsystem in Windows (like WSL). Hope it helps!

dmcbffeng commented 2 months ago

You could also use bedGraph files for epigenomic data instead of bigWig files to avoid the pyBigWig step.

beixun2023 commented 2 months ago

Thank you your swift reply.