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

pip3 install flask-kerberos error #10

Open
dewei12138 opened this issue Oct 18, 2018 · 1 comment
Open

pip3 install flask-kerberos error #10

dewei12138 opened this issue Oct 18, 2018 · 1 comment

Comments

@dewei12138
Copy link

Installing collected packages: kerberos, flask-kerberos
Running setup.py install for kerberos ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-jbd2n90x/kerberos/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-3as0bn5c/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'kerberos' extension
creating build
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c src/base64.c -o build/temp.linux-x86_64-3.5/src/base64.o /bin/sh: 1: krb5-config: not found
x86_64-linux-gnu-gcc: error: /bin/sh:: No such file or directory
x86_64-linux-gnu-gcc: error: 1:: No such file or directory
x86_64-linux-gnu-gcc: error: krb5-config:: No such file or directory
x86_64-linux-gnu-gcc: error: not: No such file or directory
x86_64-linux-gnu-gcc: error: found: No such file or directory
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

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

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-jbd2n90x/kerberos/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-3as0bn5c/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-jbd2n90x/kerberos/

hello
i had sudo apt-get install gcc, python3-dev, but not success pip3 install flask-kerberos, i used on ubuntu16.10 ,please help

@coolacid
Copy link

apt-get install libkrb5-dev

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