Issue installing python-snappy - python

I'm trying to install python-snappy in Amazon Linux EC2 instance but I keep getting the below error, Any idea how to fix this issue:
sudo python3.6 -m pip install python-snappy
Collecting python-snappy
Using cached https://files.pythonhosted.org/packages/89/fe/a81a219c183c7e578b6f82d9c2425df045548877be6559358e8560c1e9fd/python-snappy-0.5.3.tar.gz
Installing collected packages: python-snappy
Running setup.py install for python-snappy ... error
Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-e07ios_o/python-snappy/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-k7rd94ik/install-record.txt --single-version-externally-managed --compile:
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/snappy
copying snappy/snappy_cffi.py -> build/lib.linux-x86_64-3.6/snappy
copying snappy/snappy_formats.py -> build/lib.linux-x86_64-3.6/snappy
copying snappy/snappy.py -> build/lib.linux-x86_64-3.6/snappy
copying snappy/__init__.py -> build/lib.linux-x86_64-3.6/snappy
copying snappy/snappy_cffi_builder.py -> build/lib.linux-x86_64-3.6/snappy
copying snappy/__main__.py -> build/lib.linux-x86_64-3.6/snappy
copying snappy/hadoop_snappy.py -> build/lib.linux-x86_64-3.6/snappy
running build_ext
building 'snappy._snappy' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/snappy
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c snappy/snappymodule.cc -o build/temp.linux-x86_64-3.6/snappy/snappymodule.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-e07ios_o/python-snappy/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-k7rd94ik/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-e07ios_o/python-snappy/

Related

Install onewire error with 1 exitcode on RPi4

how what it wrong with this, help!
I got a problem with installing OneWire lib on my RPi4. Here is full log of installing and error:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting onewire
Using cached https://files.pythonhosted.org/packages/03/7b/cd3ab987843e40ab0c09c0c5f7d49a270f6caa806bf06a59ecdc81725b3a/onewire-0.2.tar.gz
Building wheels for collected packages: onewire
Running setup.py bdist_wheel for onewire ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-2239azyu/onewire/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-wqz46o7n --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/onewire
copying onewire/__init__.py -> build/lib.linux-armv7l-3.7/onewire
running build_ext
building 'onewire._ow' extension
creating build/temp.linux-armv7l-3.7
creating build/temp.linux-armv7l-3.7/onewire
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c onewire/_ow.c -o build/temp.linux-armv7l-3.7/onewire/_ow.o
onewire/_ow.c:2:10: fatal error: owcapi.h: Нет такого файла или каталога
#include <owcapi.h>
^~~~~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for onewire
Running setup.py clean for onewire
Failed to build onewire
Installing collected packages: onewire
Running setup.py install for onewire ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-2239azyu/onewire/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-15wkf469/install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/onewire
copying onewire/__init__.py -> build/lib.linux-armv7l-3.7/onewire
running build_ext
building 'onewire._ow' extension
creating build/temp.linux-armv7l-3.7
creating build/temp.linux-armv7l-3.7/onewire
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c onewire/_ow.c -o build/temp.linux-armv7l-3.7/onewire/_ow.o
onewire/_ow.c:2:10: fatal error: owcapi.h: Нет такого файла или каталога
#include <owcapi.h>
^~~~~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-2239azyu/onewire/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-15wkf469/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-2239azyu/onewire/
I'm using Python3. Tried with python3 -m pip install onewire and default pip3 install, but there is always same error.
Also I read something about RPM and Anaconda, but I don't want to install any additional soft.

unable to install psycopg2 due to large error

I'm trying to install psycopg2 but I keep getting this error:
Collecting psycopg2
Using cached psycopg2-2.8.5.tar.gz (380 kB)
Using legacy setup.py install for psycopg2, since package 'wheel' is not installed.
Installing collected packages: psycopg2
Running setup.py install for psycopg2 ... error
ERROR: Command errored out with exit status 1:
command: /home/yovel/PycharmProjects/scr/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8vyzoc4h/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8vyzoc4h/psycopg2/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-fq16err7/install-record.txt --single-version-externally-managed --compile --install-headers /home/yovel/PycharmProjects/scr/venv/include/site/python3.8/psycopg2
cwd: /tmp/pip-install-8vyzoc4h/psycopg2/
Complete output (40 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/psycopg2
copying lib/pool.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/sql.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_lru_cache.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/extensions.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/extras.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_json.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/__init__.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/errors.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/errorcodes.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_ipaddress.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/tz.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/compat.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_range.py -> build/lib.linux-x86_64-3.8/psycopg2
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/psycopg
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=120002 -DHAVE_LO64=1 -I/home/yovel/PycharmProjects/scr/venv/include -I/usr/include/python3.8 -I. -I/usr/include/postgresql -I/usr/include/postgresql/12/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-3.8/psycopg/psycopgmodule.o -Wdeclaration-after-statement
In file included from psycopg/psycopgmodule.c:28:
./psycopg/psycopg.h:36:10: fatal error: libpq-fe.h: No such file or directory
36 | #include <libpq-fe.h>
| ^~~~~~~~~~~~
compilation terminated.
It appears you are missing some prerequisite to build the package from source.
You may install a binary package by installing 'psycopg2-binary' from PyPI.
If you want to install psycopg2 from source, please install the packages
required for the build and try again.
For further information please check the 'doc/src/install.rst' file (also at
<https://www.psycopg.org/docs/install.html>).
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/yovel/PycharmProjects/scr/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8vyzoc4h/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8vyzoc4h/psycopg2/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-fq16err7/install-record.txt --single-version-externally-managed --compile --install-headers /home/yovel/PycharmProjects/scr/venv/include/site/python3.8/psycopg2 Check the logs for full command output.
I can install and use it using psycopg2-binary but I need to install this because it's a dependency (for django-heroku).
I tried installing libpq-dev but got this error:
The following packages have unmet dependencies:
libpq-dev : Depends: libpq5 (= 12.2-4) but 12.3-1.pgdg20.04+1 is to be installed
E: Unable to correct problems, you have held broken packages
and using sudo apt-get install libpq5
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.

"unknown type name 'decltype'": Installing pyicu on mac failed, with gcc error

I ran the following command (because I have both python2 and python3 on my mac):
$ CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib sudo python3 -m pip install pyicu
The error information is as below:
Installing collected packages: pyicu
Running setup.py install for pyicu ... error
Complete output from command /anaconda3/bin/python3 -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-l71tm0m4/pyicu/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-7298jccr-record/install-record.txt --single-version-externally-managed --compile:
Building PyICU 2.0.3 for ICU 58.2
Adding CXXFLAGS="-I/anaconda3/include" from /anaconda3/bin/icu-config
Adding LDFLAGS="-Wl,-rpath,/anaconda3/lib -L/anaconda3/lib -licui18n -licuuc -licudata" from /anaconda3/bin/icu-config
running install
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.6
copying PyICU.py -> build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/icu
copying icu/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/icu
running build_ext
building '_icu' extension
creating build/temp.macosx-10.7-x86_64-3.6
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.6m -c _icu.cpp -o build/temp.macosx-10.7-x86_64-3.6/_icu.o -DPYICU_VER="2.0.3" -I/anaconda3/include
In file included from _icu.cpp:27:
./common.h:38:13: error: unknown type name 'decltype'
typedef decltype(nullptr) nullptr_t;
^
./common.h:38:30: error: expected ';' after top level declarator
typedef decltype(nullptr) nullptr_t;
^
;
2 errors generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/anaconda3/bin/python3 -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-l71tm0m4/pyicu/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-7298jccr-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-l71tm0m4/pyicu/
According to #n.m., -std=c++11 needs to be added to CFLAGS.

Error while trying to install pycurl in Synology NAS

I am using synology NAS and python(installed 2.7, 3.5)
when I try to install via PIP, I encounter this error message.
(the first time, I met curl-config not found error.
but now with several entware packages, I met with the message below)
----------
python3 -m pip install pycurl
Collecting pycurl
Using cached pycurl-7.43.0.tar.gz
Building wheels for collected packages: pycurl
Running setup.py bdist_wheel for pycurl ... error
Complete output from command /usr/local/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-79dqoc3v/pycurl/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpa8e0oiyqpip-wheel- --python-tag cp35:
Using curl-config (libcurl 7.55.0)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/curl
copying python/curl/__init__.py -> build/lib.linux-x86_64-3.5/curl
running build_ext
building 'pycurl' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/src
/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DSYNO_FIX_FLAG_BUG -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -DSYNOPLAT_F_X86_64 -O2 -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -DSDK_VER_MIN_REQUIRED=600 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_SSL=1 -I/opt/include -I/volume1/#appstore/py3k/usr/local/include/python3.5m -c src/docstrings.c -o build/temp.linux-x86_64-3.5/src/docstrings.o
unable to execute '/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc': No such file or directory
error: command '/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for pycurl
Running setup.py clean for pycurl
Failed to build pycurl
Installing collected packages: pycurl
Running setup.py install for pycurl ... error
Complete output from command /usr/local/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-79dqoc3v/pycurl/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-q_rurvzr-record/install-record.txt --single-version-externally-managed --compile:
Using curl-config (libcurl 7.55.0)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/curl
copying python/curl/__init__.py -> build/lib.linux-x86_64-3.5/curl
running build_ext
building 'pycurl' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/src
/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DSYNO_FIX_FLAG_BUG -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -DSYNOPLAT_F_X86_64 -O2 -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -DSDK_VER_MIN_REQUIRED=600 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_SSL=1 -I/opt/include -I/volume1/#appstore/py3k/usr/local/include/python3.5m -c src/docstrings.c -o build/temp.linux-x86_64-3.5/src/docstrings.o
unable to execute '/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc': No such file or directory
error: command '/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc' failed with exit status 1
----------------------------------------
Command "/usr/local/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-79dqoc3v/pycurl/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-q_rurvzr-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-79dqoc3v/pycurl/
I just had this problem too with by Synology DS415+. The only difference is that I tried to install netdisco.
I found that setting the CC environmental variable to the actual location of gcc compiler in advance helped
# export CC=/opt/bin/gcc

Can't find Availability.h header file with gcc

When I try to install new python packages with pip, I get the following error. Looks like gcc can't find the Availability.h header file. I've had this problem with multiple python packages so it's not just problem with the library. I'm running Anaconda 2.2.0 and I'm on Mac OS X Yosemite 10.10.2 64-bit .
I tried reinstalling Xcode and Xcode dev tools since it appears to be a problem with gcc, but that didn't work.
beavernet-163:desktop David$ pip install bllipparser
Collecting bllipparser
Using cached bllipparser-2015.01.11.tar.gz
Installing collected packages: bllipparser
Running setup.py install for bllipparser
Complete output from command /Users/David/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/0d/n030c4312490_6px0bt47_wh0000gn/T/pip-build-X5SLrE/bllipparser/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/0d/n030c4312490_6px0bt47_wh0000gn/T/pip-FzytLX-record/install-record.txt --single-version-externally-managed --compile:
/Users/David/anaconda/lib/python2.7/site-packages/setuptools-14.3-py2.7.egg/setuptools/dist.py:282: UserWarning: Normalizing '2015.01.11' to '2015.1.11'
running install
running build
running build_py
creating build
creating build/lib.macosx-10.5-x86_64-2.7
creating build/lib.macosx-10.5-x86_64-2.7/bllipparser
copying python/bllipparser/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/bllipparser
copying python/bllipparser/CharniakParser.py -> build/lib.macosx-10.5-x86_64-2.7/bllipparser
copying python/bllipparser/JohnsonReranker.py -> build/lib.macosx-10.5-x86_64-2.7/bllipparser
copying python/bllipparser/ModelFetcher.py -> build/lib.macosx-10.5-x86_64-2.7/bllipparser
copying python/bllipparser/ParsingShell.py -> build/lib.macosx-10.5-x86_64-2.7/bllipparser
copying python/bllipparser/RerankerFeatureCorpus.py -> build/lib.macosx-10.5-x86_64-2.7/bllipparser
copying python/bllipparser/RerankingParser.py -> build/lib.macosx-10.5-x86_64-2.7/bllipparser
running build_ext
building 'bllipparser._CharniakParser' extension
creating build/temp.macosx-10.5-x86_64-2.7
creating build/temp.macosx-10.5-x86_64-2.7/first-stage
creating build/temp.macosx-10.5-x86_64-2.7/first-stage/PARSE
gcc -fno-strict-aliasing -I/Users/David/anaconda/include -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ifirst-stage/PARSE/ -I/Users/David/anaconda/include/python2.7 -c first-stage/PARSE/parser_wrapper.C -o build/temp.macosx-10.5-x86_64-2.7/first-stage/PARSE/parser_wrapper.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from /Users/David/anaconda/include/python2.7/pyport.h:325:0,
from /Users/David/anaconda/include/python2.7/Python.h:58,
from first-stage/PARSE/parser_wrapper.C:155:
/usr/local/lib/gcc/x86_64-apple-darwin12.5.0/4.8.1/include-fixed/math.h:54:26: fatal error: Availability.h: No such file or directory
#include <Availability.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/David/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/0d/n030c4312490_6px0bt47_wh0000gn/T/pip-build-X5SLrE/bllipparser/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/0d/n030c4312490_6px0bt47_wh0000gn/T/pip-FzytLX-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/0d/n030c4312490_6px0bt47_wh0000gn/T/pip-build-X5SLrE/bllipparser
Here is the gcc version.
beavernet-163:desktop David$ gcc --version
gcc: warning: couldn’t understand kern.osversion ‘14.1.0
gcc (GCC) 4.8.1
And Xcode version is 6.2.

Categories

Resources