aryeelab / hichipper

A preprocessing and QC pipeline for HiChIP data
MIT License
33 stars 12 forks source link

Unable to install hichipper #96

Open madetunj opened 2 months ago

madetunj commented 2 months ago

I'm unable to install this hichipper on my local system and also on a docker/singularity image.

I tried to build a container with PYPI however I failed, I repeat the PYPI installation on my laptop (I have an old ubuntu with 16.04 version), however I met the same error as building the container:


root@phoenix:~# virtualenv test
Running virtualenv with interpreter /usr/bin/python2
New python executable in /root/test/bin/python2
Also creating executable in /root/test/bin/python
Installing setuptools < 45, pkg_resources, pip < 21, wheel...done.
root@phoenix:~# cd test/
root@phoenix:~/test# ls
bin include lib local pip-selfcheck.json share
root@phoenix:~/test# source bin/activate
(test) root@phoenix:~/test# pip install pip install hichipper
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Requirement already satisfied: pip in ./lib/python2.7/site-packages (20.3.4)
ERROR: Could not find a version that satisfies the requirement install (from versions: none)
ERROR: No matching distribution found for install
(test) root@phoenix:~/test# pip install hichipper
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting hichipper
Downloading hichipper-0.7.7.tar.gz (39 kB)
Collecting click
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
|████████████████████████████████| 82 kB 163 kB/s
Collecting PyYAML
Downloading PyYAML-5.4.1-cp27-cp27mu-manylinux1_x86_64.whl (574 kB)
|████████████████████████████████| 574 kB 5.8 MB/s
Collecting Numpy
Downloading numpy-1.16.6-cp27-cp27mu-manylinux1_x86_64.whl (17.0 MB)
|████████████████████████████████| 17.0 MB 1.4 MB/s
Collecting MACS2
Downloading MACS2-2.2.6.tar.gz (2.0 MB)
|████████████████████████████████| 2.0 MB 556 kB/s
ERROR: Command errored out with exit status 1:
command: /root/test/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w4IVeL/macs2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w4IVeL/macs2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-GRY59u
cwd: /tmp/pip-install-w4IVeL/macs2/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-w4IVeL/macs2/setup.py", line 16, in <module>
from numpy import get_include as numpy_get_include
ImportError: No module named numpy
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

It seems something broken between the dependent packages so I can not build it.

Do you have a workable image or package?