straw icon indicating copy to clipboard operation
straw copied to clipboard

Installation on Linux not working?

Open Phlya opened this issue 3 years ago • 3 comments

Describe the bug Can not install hic-straw on linux

To Reproduce

  • Create a clean conda environment (tried python 3.8, for example)
  • Activate the environment
  • Run pip install hic-straw
  • See error in attached file hicstraw_error.txt

Expected behavior Expected it would be installed

Desktop (please complete the following information):

  • OS: CentOS Linux release 7.9.2009

Additional context Pre-built wheel installs fine on MacOS, but for linux there is only a source archive on PyPI...

Phlya avatar Nov 11 '22 12:11 Phlya

Basically, to solve this I added the recipe for hic-straw to bioconda, hopefully it gets merged soon: https://github.com/bioconda/bioconda-recipes/pull/37929

Which sort of means that in principle Linux is not a problem, I don't know why it didn't work for me, but either way, installing via conda should solve any issues in the future.

Phlya avatar Nov 11 '22 15:11 Phlya

It's now available on bioconda https://anaconda.org/bioconda/hic-straw

The only thing I noticed is that for me it requires some lib available in conda-forge, so it needs to be enabled when installing, maybe depending on the system...

Phlya avatar Nov 17 '22 14:11 Phlya

pip-install gave me an error so i tried conda install, but i keep getting error about python and glibc specifications. do you have any suggestions? i tried python 3.8, 3.9 and 3.11.

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - hic-straw -> python[version='>=2.7,<2.8.0a0|>=3.11,<3.12.0a0']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

The following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.17=0
  - feature:|@/linux-64::__glibc==2.17=0

Your installed version is: 2.17

katecycho avatar Jul 11 '23 15:07 katecycho