zengxiaofei / HapHiC

HapHiC: a fast, reference-independent, allele-aware scaffolding tool based on Hi-C data
https://www.nature.com/articles/s41477-024-01755-3
BSD 3-Clause "New" or "Revised" License
141 stars 10 forks source link

I may have encountered some bugs due to the python version #41

Closed Weihankk closed 3 months ago

Weihankk commented 3 months ago

Some bug likesubprocess.CalledProcessError .... returned non-zero exit status 1 may caused by python and packages version.

This error always occurs in the python3.10 environment and I guess is the matplotlib version from pip/conda caused. After I redeployed the environment according to the py312 method, there is no error and running successfully. I hope it can help other users.

zengxiaofei commented 3 months ago

I have updated the Conda environments for every Python version. I would appreciate it if you could give it a try.

Weihankk commented 3 months ago

I have tested the newly released conda yml based on py310 and py312 versions. The py312 version is normal, but py310 has errors related to pysam during installation. Therefore, I changed the pysam version in py310 yml to the same version 0.22.1 as py312, and the installation was successful. After subsequent tests, both versions ran without errors.

zengxiaofei commented 3 months ago

It's an issue of GCC version. Please use the py312 environment instead.