ay-lab / mustache

Multi-scale Detection of Chromatin Loops from Hi-C and Micro-C Maps using Scale-Space Representation
MIT License
57 stars 11 forks source link

installation error, Failed building wheel for hic-straw #61

Open jiangshan529 opened 3 months ago

jiangshan529 commented 3 months ago

Hi, when I install mustache using the code: it gives error that hic-straw has problem

git clone https://github.com/ay-lab/mustache conda env create -f ./mustache/environment.yml conda activate mustache

cemilcan98 commented 3 months ago

Hi, Can you please paste the error message you are getting during installation?

jiangshan529 commented 3 months ago

Hi, Can you please paste the error message you are getting during installation? Hi, the problem is caused by hic-straw, I also asked their team. But it really makes the software hard to be installed.

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects failed

CondaEnvException: Pip failed

narzouni commented 1 month ago

I am getting the same exact error. Did you find a solution for that? I am not able to successfully install hic-straw for the same above mentioned error.

I also have a question, is there any reason for using python=3.8?

cemilcan98 commented 1 month ago

Can you please provide more information about your operating system, whether you have hic-straw already installed on your system, and what C compiler you are using?

narzouni commented 1 month ago

Hello @cemilcan98 , thank you so much for your reply.

The OS I am using is: Springdale Linux 7.9 (Verona)

and the GCC Compiler is:

gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)

I created a conda environment for mustache, so I don't have hic-straw installed.

narzouni commented 1 month ago

Oh just to let you know, I used conda install instead of pip. it seems to install hic-straw successfully. Pip install did not work. your environment.yaml file uses pip install. I just assumed it is not available for conda install. Thank you.

cemilcan98 commented 1 month ago

@narzouni were you able to run Mustache after conda installing hic-straw?

narzouni commented 1 month ago

@narzouni were you able to run Mustache after conda installing hic-straw?

I was able to run Mustache successfully I think. I tried it once on a .mcool file. I will let you know if I think there is something not completely right.

jiangshan529 commented 1 month ago

@narzouni were you able to run Mustache after conda installing hic-straw?

I was able to run Mustache successfully I think. I tried it once on a .mcool file. I will let you know if I think there is something not completely right.

Hi, Could you please share your code with me? Thank you! I am trying to install using conda but it said no cooler, but actually I have cooler installed:

$ mamba install jrhawley::mustache-hic

Looking for: ['jrhawley::mustache-hic']

conda-forge/linux-64 Using cache conda-forge/noarch Using cache jrhawley/noarch No change jrhawley/linux-64 No change

Pinned packages:

Could not solve for environment specs The following package could not be installed └─ mustache-hic is uninstallable because it requires └─ cooler , which does not exist (perhaps a missing channel).

(mustache) -bash:uger-r7- $ cooler Usage: cooler [OPTIONS] COMMAND [ARGS]...

Type -h or --help after any subcommand for more information.