Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on Linux not working? #120

Open
Phlya opened this issue Nov 11, 2022 · 3 comments
Open

Installation on Linux not working? #120

Phlya opened this issue Nov 11, 2022 · 3 comments

Comments

@Phlya
Copy link

Phlya commented Nov 11, 2022

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 Phlya changed the title Installation in Linux not working? Installation on Linux not working? Nov 11, 2022
@Phlya
Copy link
Author

Phlya commented Nov 11, 2022

Basically, to solve this I added the recipe for hic-straw to bioconda, hopefully it gets merged soon: bioconda/bioconda-recipes#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
Copy link
Author

Phlya commented Nov 17, 2022

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...

@katecycho
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants