deeptools / pyBigWig

A python extension for quick access to bigWig and bigBed files
MIT License
212 stars 48 forks source link

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-eh2hv2_s/pyBigWig/ #51

Closed sandunr closed 6 years ago

sandunr commented 6 years ago

Hi,

I keep getting this error when i try to install pybigwig on my ubuntu machine with the following command 'pip install pyBigWig==0.3.2'. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-eh2hv2_s/pyBigWig/

and this error with command 'pip install pyBigWig',

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-pp2reo0g/pybigwig/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-bxqpelh1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-pp2reo0g/pybigwig/

Any idea why this is happening?

Thanks, Sandun

dpryan79 commented 6 years ago

No clue, though there's no reason to use an old version.

dpryan79 commented 6 years ago

There's a suggestion from here that setuptools may be incorrectly installed.