{"action":"opened","issue":{"url":"https://api.github.com/repos/trehn/teamvault/issues/64","labels_url":"https://api.github.com/repos/trehn/teamvault/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/trehn/teamvault/issues/64/comments","events_url":"https://api.github.com/repos/trehn/teamvault/issues/64/events","html_url":"https://github.com/trehn/teamvault/issues/64","id":83816879,"number":64,"title":"Install Failure.","user":{"login":"lachlanjholmes","id":1935116,"avatar_url":"https://avatars.githubusercontent.com/u/1935116?v=3","gravatar_id":"","url":"https://api.github.com/users/lachlanjholmes","html_url":"https://github.com/lachlanjholmes","followers_url":"https://api.github.com/users/lachlanjholmes/followers","following_url":"https://api.github.com/users/lachlanjholmes/following{/other_user}","gists_url":"https://api.github.com/users/lachlanjholmes/gists{/gist_id}","starred_url":"https://api.github.com/users/lachlanjholmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachlanjholmes/subscriptions","organizations_url":"https://api.github.com/users/lachlanjholmes/orgs","repos_url":"https://api.github.com/users/lachlanjholmes/repos","events_url":"https://api.github.com/users/lachlanjholmes/events{/privacy}","received_events_url":"https://api.github.com/users/lachlanjholmes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-02T03:38:22Z","updated_at":"2015-06-02T03:38:22Z","closed_at":null,"body":"Running ubuntu server 15.04 4 bit.\r\n\r\nused this guide to do the install.\r\n\r\nhttps://pypi.python.org/pypi/teamvault/0.4.3\r\n\r\n```\r\n$ sudo pip install teamvault\r\nRequirement already satisfied (use --upgrade to upgrade): teamvault in ./.local/lib/python2.7/site-packages\r\nDownloading/unpacking cryptography==0.9 (from teamvault)\r\n  Downloading cryptography-0.9.tar.gz (302kB): 302kB downloaded\r\n  Running setup.py (path:/tmp/pip-build-ABU3zM/cryptography/setup.py) egg_info for package cryptography\r\n\r\n    no previously-included directories found matching 'docs/_build'\r\n    warning: no previously-included files matching '*' found under directory 'vectors'\r\nDownloading/unpacking dj-static==0.0.6 (from teamvault)\r\n  Downloading dj-static-0.0.6.tar.gz\r\n  Running setup.py (path:/tmp/pip-build-ABU3zM/dj-static/setup.py) egg_info for package dj-static\r\n\r\nDownloading/unpacking Django==1.8.1 (from teamvault)\r\n  Downloading Django-1.8.1-py2.py3-none-any.whl (6.2MB): 6.2MB downloaded\r\nDownloading/unpacking django-gravatar2==1.3.0 (from teamvault)\r\n  Downloading django_gravatar2-1.3.0-py2.py3-none-any.whl\r\nDownloading/unpacking djangorestframework==3.1.2 (from teamvault)\r\n  Downloading djangorestframework-3.1.2-py2.py3-none-any.whl (463kB): 463kB downloaded\r\nDownloading/unpacking djorm-ext-pgfulltext==0.9.3 (from teamvault)\r\n  Downloading djorm_ext_pgfulltext-0.9.3-py2.py3-none-any.whl\r\nDownloading/unpacking gunicorn==19.3.0 (from teamvault)\r\n  Downloading gunicorn-19.3.0-py2.py3-none-any.whl (110kB): 110kB downloaded\r\nDownloading/unpacking hashids==1.1.0 (from teamvault)\r\n  Downloading hashids-1.1.0.tar.gz\r\n  Running setup.py (path:/tmp/pip-build-ABU3zM/hashids/setup.py) egg_info for package hashids\r\n\r\nDownloading/unpacking psycopg2==2.6 (from teamvault)\r\n  Downloading psycopg2-2.6.tar.gz (367kB): 367kB downloaded\r\n  Running setup.py (path:/tmp/pip-build-ABU3zM/psycopg2/setup.py) egg_info for package psycopg2\r\n\r\nDownloading/unpacking pytz==2015.4 (from teamvault)\r\n  Downloading pytz-2015.4-py2.py3-none-any.whl (475kB): 475kB downloaded\r\nRequirement already satisfied (use --upgrade to upgrade): idna in /usr/lib/python2.7/dist-packages (from cryptography==0.9->teamvault)\r\nRequirement already satisfied (use --upgrade to upgrade): pyasn1 in ./.local/lib/python2.7/site-packages (from cryptography==0.9->teamvault)\r\nRequirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography==0.9->teamvault)\r\nRequirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from cryptography==0.9->teamvault)\r\nDownloading/unpacking enum34 (from cryptography==0.9->teamvault)\r\n  Downloading enum34-1.0.4.tar.gz\r\n  Running setup.py (path:/tmp/pip-build-ABU3zM/enum34/setup.py) egg_info for package enum34\r\n\r\nDownloading/unpacking ipaddress (from cryptography==0.9->teamvault)\r\n  Downloading ipaddress-1.0.7-py27-none-any.whl\r\nDownloading/unpacking cffi>=0.8 (from cryptography==0.9->teamvault)\r\n  Downloading cffi-1.1.0.tar.gz (323kB): 323kB downloaded\r\n  Running setup.py (path:/tmp/pip-build-ABU3zM/cffi/setup.py) egg_info for package cffi\r\n\r\nDownloading/unpacking static3 (from dj-static==0.0.6->teamvault)\r\n  Downloading static3-0.6.1.tar.gz\r\n  Running setup.py (path:/tmp/pip-build-ABU3zM/static3/setup.py) egg_info for package static3\r\n\r\nDownloading/unpacking pycparser (from cffi>=0.8->cryptography==0.9->teamvault)\r\n  Downloading pycparser-2.13.tar.gz (299kB): 299kB downloaded\r\n  Running setup.py (path:/tmp/pip-build-ABU3zM/pycparser/setup.py) egg_info for package pycparser\r\n\r\n    warning: no previously-included files matching 'yacctab.*' found under directory 'tests'\r\n    warning: no previously-included files matching 'lextab.*' found under directory 'tests'\r\n    warning: no previously-included files matching 'yacctab.*' found under directory 'examples'\r\n    warning: no previously-included files matching 'lextab.*' found under directory 'examples'\r\nInstalling collected packages: cryptography, dj-static, Django, django-gravatar2, djangorestframework, djorm-ext-pgfulltext, gunicorn, hashids, psycopg2, pytz, enum34, ipaddress, cffi, static3, pycparser\r\n  Running setup.py install for cryptography\r\n    c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory\r\n     #include <Python.h>\r\n                        ^\r\n    compilation terminated.\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/tmp/pip-build-ABU3zM/cryptography/setup.py\", line 342, in <module>\r\n        **keywords_with_side_effects(sys.argv)\r\n      File \"/usr/lib/python2.7/distutils/core.py\", line 111, in setup\r\n        _setup_distribution = dist = klass(attrs)\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 265, in __init__\r\n        self.fetch_build_eggs(attrs['setup_requires'])\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 310, in fetch_build_eggs\r\n        replace_conflicting=True,\r\n      File \"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 799, in resolve\r\n        dist = best[req.key] = env.best_match(req, ws, installer)\r\n      File \"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 1049, in best_match\r\n        return self.obtain(req, installer)\r\n      File \"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 1061, in obtain\r\n        return installer(requirement)\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 377, in fetch_build_egg\r\n        return cmd.easy_install(req)\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 646, in easy_install\r\n        return self.install_item(spec, dist.location, tmpdir, deps)\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 676, in install_item\r\n        dists = self.install_eggs(spec, download, tmpdir)\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 861, in install_eggs\r\n        return self.build_and_install(setup_script, setup_base)\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 1089, in build_and_install\r\n        self.run_setup(setup_script, setup_base, args)\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 1077, in run_setup\r\n        raise DistutilsError(\"Setup script exited with %s\" % (v.args[0],))\r\n    distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n    Complete output from command /usr/bin/python -c \"import setuptools, tokenize;__file__='/tmp/pip-build-ABU3zM/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-D2izdk-record/install-record.txt --single-version-externally-managed --compile:\r\n    c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory\r\n\r\n #include <Python.h>\r\n\r\n                    ^\r\n\r\ncompilation terminated.\r\n\r\nTraceback (most recent call last):\r\n\r\n  File \"<string>\", line 1, in <module>\r\n\r\n  File \"/tmp/pip-build-ABU3zM/cryptography/setup.py\", line 342, in <module>\r\n\r\n    **keywords_with_side_effects(sys.argv)\r\n\r\n  File \"/usr/lib/python2.7/distutils/core.py\", line 111, in setup\r\n\r\n    _setup_distribution = dist = klass(attrs)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 265, in __init__\r\n\r\n    self.fetch_build_eggs(attrs['setup_requires'])\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 310, in fetch_build_eggs\r\n\r\n    replace_conflicting=True,\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 799, in resolve\r\n\r\n    dist = best[req.key] = env.best_match(req, ws, installer)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 1049, in best_match\r\n\r\n    return self.obtain(req, installer)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 1061, in obtain\r\n\r\n    return installer(requirement)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 377, in fetch_build_egg\r\n\r\n    return cmd.easy_install(req)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 646, in easy_install\r\n\r\n    return self.install_item(spec, dist.location, tmpdir, deps)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 676, in install_item\r\n\r\n    dists = self.install_eggs(spec, download, tmpdir)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 861, in install_eggs\r\n\r\n    return self.build_and_install(setup_script, setup_base)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 1089, in build_and_install\r\n\r\n    self.run_setup(setup_script, setup_base, args)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 1077, in run_setup\r\n\r\n    raise DistutilsError(\"Setup script exited with %s\" % (v.args[0],))\r\n\r\ndistutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n\r\n----------------------------------------\r\nCleaning up...\r\nCommand /usr/bin/python -c \"import setuptools, tokenize;__file__='/tmp/pip-build-ABU3zM/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-D2izdk-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-ABU3zM/cryptography\r\nStoring debug log for failure in /home/USERNAME/.pip/pip.log\r\n```"}}