Giter Site home page Giter Site logo

django_saml_sp's People

Contributors

dashdrum avatar

Stargazers

 avatar

Watchers

 avatar  avatar

django_saml_sp's Issues

fatal error: Python.h: No such file or directory

During installation of python3-saml, I received the following error. I'm on CentOS 7, Python 3.4. C_INCLUDE_PATH has libxml2 and xmlsec1

(rcn) [root@bhs01 shortener]# pip install xmlsec
Collecting xmlsec
  Using cached xmlsec-0.6.1.tar.gz
Requirement already satisfied (use --upgrade to upgrade): lxml>=3.0 in /root/project/rcn/lib/python3.4/site-packages (from xmlsec)
Building wheels for collected packages: xmlsec
  Running setup.py bdist_wheel for xmlsec ... error
  Complete output from command /root/project/rcn/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1ctsfpg5/xmlsec/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpl926zohtpip-wheel- --python-tag cp34:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.4
  creating build/lib.linux-x86_64-3.4/xmlsec
  copying src/xmlsec/meta.py -> build/lib.linux-x86_64-3.4/xmlsec
  copying src/xmlsec/error.py -> build/lib.linux-x86_64-3.4/xmlsec
  copying src/xmlsec/__init__.py -> build/lib.linux-x86_64-3.4/xmlsec
  running build_ext
  cythoning src/xmlsec/constants.pyx to src/xmlsec/constants.c
  building 'xmlsec.constants' extension
  creating build/temp.linux-x86_64-3.4
  creating build/temp.linux-x86_64-3.4/src
  creating build/temp.linux-x86_64-3.4/src/xmlsec
  gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DXMLSEC_DL_LIBLTDL=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_SIZE_T= -DXMLSEC_CRYPTO=openssl -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_OPENSSL_100=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -Isrc -I/root/project/rcn/lib/python3.4/site-packages/lxml/includes -I/root/project/rcn/lib/python3.4/site-packages/lxml -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/include/python3.4m -c src/xmlsec/constants.c -o build/temp.linux-x86_64-3.4/src/xmlsec/constants.o -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1
  src/xmlsec/constants.c:4:20: fatal error: Python.h: No such file or directory
   #include "Python.h"
                      ^
  compilation terminated.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for xmlsec
  Running setup.py clean for xmlsec
Failed to build xmlsec
Installing collected packages: xmlsec
  Running setup.py install for xmlsec ... error
    Complete output from command /root/project/rcn/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1ctsfpg5/xmlsec/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pbn875fk-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/project/rcn/include/site/python3.4/xmlsec:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.4
    creating build/lib.linux-x86_64-3.4/xmlsec
    copying src/xmlsec/meta.py -> build/lib.linux-x86_64-3.4/xmlsec
    copying src/xmlsec/error.py -> build/lib.linux-x86_64-3.4/xmlsec
    copying src/xmlsec/__init__.py -> build/lib.linux-x86_64-3.4/xmlsec
    running build_ext
    skipping 'src/xmlsec/constants.c' Cython extension (up-to-date)
    building 'xmlsec.constants' extension
    creating build/temp.linux-x86_64-3.4
    creating build/temp.linux-x86_64-3.4/src
    creating build/temp.linux-x86_64-3.4/src/xmlsec
    gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_NO_XKMS=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_OPENSSL_100=1 -DXMLSEC_NO_SIZE_T= -DXMLSEC_DL_LIBLTDL=1 -Isrc -I/root/project/rcn/lib/python3.4/site-packages/lxml/includes -I/root/project/rcn/lib/python3.4/site-packages/lxml -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/include/python3.4m -c src/xmlsec/constants.c -o build/temp.linux-x86_64-3.4/src/xmlsec/constants.o -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1
    src/xmlsec/constants.c:4:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/root/project/rcn/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1ctsfpg5/xmlsec/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pbn875fk-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/project/rcn/include/site/python3.4/xmlsec" failed with error code 1 in /tmp/pip-build-1ctsfpg5/xmlsec/

Any clue what might have went wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.