this is error i keep getting

tony@ubuntu:~$ pip install pykerberos
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
Defaulting to user installation because normal site-packages is not
writeable
Collecting pykerberos
  Downloading pykerberos-1.2.1.tar.gz (24 kB)
Building wheels for collected packages: pykerberos
  Building wheel for pykerberos (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-e0nO8N/pykerberos/setup.py'"'"';
__file__='"'"'/tmp/pip-install-e0nO8N/pykerberos/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-CFz0Gh
       cwd: /tmp/pip-install-e0nO8N/pykerberos/
  Complete output (14 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'kerberos' extension
  creating build
  creating build/temp.linux-x86_64-2.7
  creating build/temp.linux-x86_64-2.7/src
  x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-UKCoZ3/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c src/kerberos.c -o
build/temp.linux-x86_64-2.7/src/kerberos.o
  In file included from src/kerberos.c:19:
  src/kerberosbasic.h:17:10: fatal error: gssapi/gssapi.h: No such file or
directory
   #include <gssapi/gssapi.h>
            ^~~~~~~~~~~~~~~~~
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pykerberos
  Running setup.py clean for pykerberos
Failed to build pykerberos
Installing collected packages: pykerberos
    Running setup.py install for pykerberos ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-e0nO8N/pykerberos/setup.py'"'"';
__file__='"'"'/tmp/pip-install-e0nO8N/pykerberos/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-vbOicj/install-record.txt
--single-version-externally-managed --user --prefix= --compile
--install-headers /home/tony/.local/include/python2.7/pykerberos
         cwd: /tmp/pip-install-e0nO8N/pykerberos/
    Complete output (14 lines):
    running install
    running build
    running build_ext
    building 'kerberos' extension
    creating build
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/src
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-UKCoZ3/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c src/kerberos.c -o
build/temp.linux-x86_64-2.7/src/kerberos.o
    In file included from src/kerberos.c:19:
    src/kerberosbasic.h:17:10: fatal error: gssapi/gssapi.h: No such file
or directory
     #include <gssapi/gssapi.h>
              ^~~~~~~~~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c
'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-e0nO8N/pykerberos/setup.py'"'"';
__file__='"'"'/tmp/pip-install-e0nO8N/pykerberos/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-vbOicj/install-record.txt
--single-version-externally-managed --user --prefix= --compile
--install-headers /home/tony/.local/include/python2.7/pykerberos Check the
logs for full command output.
tony@ubuntu:~$ ^C

On Mon, May 25, 2020 at 6:40 PM Jordan Borean <jborea...@gmail.com> wrote:

> Please read the docs, there are a few packages that need to be installed
> for pip to compile the pykerberos library
> https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html#installing-the-kerberos-library
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/81358d82-7c54-4cec-a8ce-f18f0e3f82cc%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALmkhkpE%3De--Q9KdLd6mR%3D13aQx%2BBxNgbn-9K-L7xCrpSyAGzA%40mail.gmail.com.

Reply via email to