{"action":"created","issue":{"url":"https://api.github.com/repos/learningequality/installers/issues/232","labels_url":"https://api.github.com/repos/learningequality/installers/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/learningequality/installers/issues/232/comments","events_url":"https://api.github.com/repos/learningequality/installers/issues/232/events","html_url":"https://github.com/learningequality/installers/issues/232","id":112024178,"number":232,"title":"PIP Installation method not working on Debian","user":{"login":"EdDixon","id":4349806,"avatar_url":"https://avatars.githubusercontent.com/u/4349806?v=3","gravatar_id":"","url":"https://api.github.com/users/EdDixon","html_url":"https://github.com/EdDixon","followers_url":"https://api.github.com/users/EdDixon/followers","following_url":"https://api.github.com/users/EdDixon/following{/other_user}","gists_url":"https://api.github.com/users/EdDixon/gists{/gist_id}","starred_url":"https://api.github.com/users/EdDixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdDixon/subscriptions","organizations_url":"https://api.github.com/users/EdDixon/orgs","repos_url":"https://api.github.com/users/EdDixon/repos","events_url":"https://api.github.com/users/EdDixon/events{/privacy}","received_events_url":"https://api.github.com/users/EdDixon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-18T14:55:14Z","updated_at":"2015-10-19T13:39:23Z","closed_at":null,"body":"PIP Installation method failed on Debian but completed succesfully on both Ubuntu 14 LTS and 15.x Below is a trace back and log of the error: \r\n\r\n```\r\n\r\nCommand /usr/bin/python -c \"import setuptools, tokenize;__file__='/tmp/pip-build-agiU3c/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-YfY1CT-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-agiU3c/pycrypto\r\nStoring debug log for failure in /root/.pip/pip.log\r\n\r\n```\r\n\r\n```\r\nrunning build_ext\r\n\r\nrunning build_configure\r\n\r\nchecking for gcc... gcc\r\n\r\nchecking whether the C compiler works... yes\r\n\r\nchecking for C compiler default output file name... a.out\r\n\r\nchecking for suffix of executables...\r\n\r\nchecking whether we are cross compiling... no\r\n\r\nchecking for suffix of object files... o\r\n\r\nchecking whether we are using the GNU C compiler... yes\r\n\r\nchecking whether gcc accepts -g... yes\r\n\r\nchecking for gcc option to accept ISO C89... none needed\r\n\r\nchecking for __gmpz_init in -lgmp... no\r\n\r\nchecking for __gmpz_init in -lmpir... no\r\n\r\nchecking whether mpz_powm is declared... no\r\n\r\nchecking whether mpz_powm_sec is declared... no\r\n\r\nchecking how to run the C preprocessor... gcc -E\r\n\r\nchecking for grep that handles long lines and -e... /bin/grep\r\n\r\nchecking for egrep... /bin/grep -E\r\n\r\nchecking for ANSI C header files... yes\r\n\r\nchecking for sys/types.h... yes\r\n\r\nchecking for sys/stat.h... yes\r\n\r\nchecking for stdlib.h... yes\r\n\r\nchecking for string.h... yes\r\n\r\nchecking for memory.h... yes\r\n\r\nchecking for strings.h... yes\r\n\r\nchecking for inttypes.h... yes\r\n\r\nchecking for stdint.h... yes\r\n\r\nchecking for unistd.h... yes\r\n\r\nchecking for inttypes.h... (cached) yes\r\n\r\nchecking limits.h usability... yes\r\n\r\nchecking limits.h presence... yes\r\n\r\nchecking for limits.h... yes\r\n\r\nchecking stddef.h usability... yes\r\n\r\nchecking stddef.h presence... yes\r\n\r\nchecking for stddef.h... yes\r\n\r\nchecking for stdint.h... (cached) yes\r\n\r\nchecking for stdlib.h... (cached) yes\r\n\r\nchecking for string.h... (cached) yes\r\n\r\nchecking wchar.h usability... yes\r\n\r\nchecking wchar.h presence... yes\r\n\r\nchecking for wchar.h... yes\r\n\r\nchecking for inline... inline\r\n\r\nchecking for int16_t... yes\r\n\r\nchecking for int32_t... yes\r\n\r\nchecking for int64_t... yes\r\n\r\nchecking for int8_t... yes\r\n\r\nchecking for size_t... yes\r\n\r\nchecking for uint16_t... yes\r\n\r\nchecking for uint32_t... yes\r\n\r\nchecking for uint64_t... yes\r\n\r\nchecking for uint8_t... yes\r\n\r\nchecking for stdlib.h... (cached) yes\r\n\r\nchecking for GNU libc compatible malloc... yes\r\n\r\nchecking for memmove... yes\r\n\r\nchecking for memset... yes\r\n\r\nconfigure: creating ./config.status\r\n\r\nconfig.status: creating src/config.h\r\n\r\nwarning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.\r\n\r\nbuilding 'Crypto.Hash._MD2' extension\r\n\r\ncreating build/temp.linux-x86_64-2.7\r\n\r\ncreating build/temp.linux-x86_64-2.7/src\r\n\r\nx86_64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o\r\n\r\nsrc/MD2.c:31: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\nerror: 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-agiU3c/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-YfY1CT-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-agiU3c/pycrypto\r\nException information:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/pip/basecommand.py\", line 122, in main\r\n    status = self.run(options, args)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/commands/install.py\", line 295, in run\r\n    requirement_set.install(install_options, global_options, root=options.root_path)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/req.py\", line 1436, in install\r\n    requirement.install(install_options, global_options, *args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/req.py\", line 707, in install\r\n    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/util.py\", line 716, in call_subprocess\r\n    % (command_desc, proc.returncode, cwd))\r\nInstallationError: Command /usr/bin/python -c \"import setuptools, tokenize;__file__='/tmp/pip-build-agiU3c/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-YfY1CT-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-agiU3c/pycrypto\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/learningequality/installers/issues/comments/149215931","html_url":"https://github.com/learningequality/installers/issues/232#issuecomment-149215931","issue_url":"https://api.github.com/repos/learningequality/installers/issues/232","id":149215931,"user":{"login":"benjaoming","id":374612,"avatar_url":"https://avatars.githubusercontent.com/u/374612?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaoming","html_url":"https://github.com/benjaoming","followers_url":"https://api.github.com/users/benjaoming/followers","following_url":"https://api.github.com/users/benjaoming/following{/other_user}","gists_url":"https://api.github.com/users/benjaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaoming/subscriptions","organizations_url":"https://api.github.com/users/benjaoming/orgs","repos_url":"https://api.github.com/users/benjaoming/repos","events_url":"https://api.github.com/users/benjaoming/events{/privacy}","received_events_url":"https://api.github.com/users/benjaoming/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T13:39:23Z","updated_at":"2015-10-19T13:39:23Z","body":"Great, thanks! Now the problem is easy to see!\r\n\r\ndjango-dbbackup has a dependency chain.\r\n\r\nThis was solved in later versions, which were then broken so we couldn't use the latest version. In the meantime, this is solved:\r\n\r\nhttps://github.com/django-dbbackup/django-dbbackup/issues/120"}}