Blosc / bcolz

A columnar data container that can be compressed.
http://bcolz.blosc.org
959 stars 149 forks source link

pip install fails in python3.6 #378

Closed bhaskar-manguluri closed 6 years ago

bhaskar-manguluri commented 6 years ago

I have checked the installation in python2.7 and python 3.5 which works fine but for 3.6 faced the following error bcolz/carray_ext.c:4:20: fatal error: Python.h: No such file or directory compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/home/user/work/env3/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-fkou0uv1/bcolz/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-record-rx8lep6k/install-record.txt --single-version-externally-managed --compile --install-headers /home/tf/work/env3/include/site/python3.6/bcolz" failed with error code 1 in /tmp/pip-install-fkou0uv1/bcolz/

FrancescAlted commented 6 years ago

Your system is probably missing the Python 3.6 headers (python36-dev package or similar).

bhaskar-manguluri commented 6 years ago

Thank you, the issue is resolved after installing python3.6 dev.