{"action":"created","issue":{"url":"https://api.github.com/repos/blockstack/blockstack-core/issues/246","repository_url":"https://api.github.com/repos/blockstack/blockstack-core","labels_url":"https://api.github.com/repos/blockstack/blockstack-core/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/blockstack/blockstack-core/issues/246/comments","events_url":"https://api.github.com/repos/blockstack/blockstack-core/issues/246/events","html_url":"https://github.com/blockstack/blockstack-core/issues/246","id":181422174,"number":246,"title":"Ubuntu installation issues","user":{"login":"JustinDrake","id":731743,"avatar_url":"https://avatars.githubusercontent.com/u/731743?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinDrake","html_url":"https://github.com/JustinDrake","followers_url":"https://api.github.com/users/JustinDrake/followers","following_url":"https://api.github.com/users/JustinDrake/following{/other_user}","gists_url":"https://api.github.com/users/JustinDrake/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinDrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinDrake/subscriptions","organizations_url":"https://api.github.com/users/JustinDrake/orgs","repos_url":"https://api.github.com/users/JustinDrake/repos","events_url":"https://api.github.com/users/JustinDrake/events{/privacy}","received_events_url":"https://api.github.com/users/JustinDrake/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-06T13:57:18Z","updated_at":"2016-10-06T18:48:29Z","closed_at":"2016-10-06T18:48:29Z","body":"I'm having issues installing blockstack-core on Ubuntu. I have run `sudo apt-get update && sudo apt-get install -y python-pip python-dev libssl-dev` first without issues, but then `sudo pip install blockstack` fails (see below).\r\n\r\n```\r\nRequirement already satisfied (use --upgrade to upgrade): blockstack in /usr/local/lib/python2.7/dist-packages\r\nRequirement already satisfied (use --upgrade to upgrade): virtualchain>=0.0.13.0 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): protocoin>=0.1 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): blockstack-profiles>=0.4.4 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): pybitcoin>=0.9.9 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): blockstack-zones>=0.1.6 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): blockstack-storage-drivers>=0.0.13.6 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): blockstack-utxo>=0.0.13.0 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): defusedxml>=0.4.1 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): keylib>=0.0.5 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): mixpanel>=4.3.1 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): pycrypto>=2.6.1 in /usr/local/lib/python2.7/dist-packages (from blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): bitcoin>=1.1.42 in /usr/local/lib/python2.7/dist-packages (from virtualchain>=0.0.13.0->blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): python-bitcoinrpc==0.1 in /usr/local/lib/python2.7/dist-packages (from virtualchain>=0.0.13.0->blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): utilitybelt>=0.2.6 in /usr/local/lib/python2.7/dist-packages (from virtualchain>=0.0.13.0->blockstack)\r\nRequirement already satisfied (use --upgrade to upgrade): ecdsa>=0.10 in /usr/local/lib/python2.7/dist-packages (from protocoin>=0.1->blockstack)\r\nDownloading/unpacking cryptography>=1.2.3 (from blockstack-profiles>=0.4.4->blockstack)\r\n  Running setup.py (path:/tmp/pip_build_root/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 jsontokens>=0.0.2 (from blockstack-profiles>=0.4.4->blockstack)\r\n  Downloading jsontokens-0.0.2.tar.gz\r\n  Running setup.py (path:/tmp/pip_build_root/jsontokens/setup.py) egg_info for package jsontokens\r\n    \r\nDownloading/unpacking requests>=2.4.3 (from pybitcoin>=0.9.9->blockstack)\r\nDownloading/unpacking commontools==0.1.0 (from pybitcoin>=0.9.9->blockstack)\r\n  Downloading commontools-0.1.0.tar.gz\r\n  Running setup.py (path:/tmp/pip_build_root/commontools/setup.py) egg_info for package commontools\r\n    \r\nDownloading/unpacking keychain>=0.1.4 (from pybitcoin>=0.9.9->blockstack)\r\n  Downloading keychain-0.1.4.1.tar.gz\r\n  Running setup.py (path:/tmp/pip_build_root/keychain/setup.py) egg_info for package keychain\r\n    \r\nDownloading/unpacking boto>=2.38.0 (from blockstack-storage-drivers>=0.0.13.6->blockstack)\r\nDownloading/unpacking basicrpc>=0.0.2 (from blockstack-storage-drivers>=0.0.13.6->blockstack)\r\n  Downloading basicrpc-0.0.2.tar.gz\r\n  Running setup.py (path:/tmp/pip_build_root/basicrpc/setup.py) egg_info for package basicrpc\r\n    \r\nDownloading/unpacking idna>=2.0 (from cryptography>=1.2.3->blockstack-profiles>=0.4.4->blockstack)\r\nDownloading/unpacking pyasn1>=0.1.8 (from cryptography>=1.2.3->blockstack-profiles>=0.4.4->blockstack)\r\n  Downloading pyasn1-0.1.9-py2.py3-none-any.whl\r\nRequirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography>=1.2.3->blockstack-profiles>=0.4.4->blockstack)\r\nDownloading/unpacking setuptools>=11.3 (from cryptography>=1.2.3->blockstack-profiles>=0.4.4->blockstack)\r\nDownloading/unpacking enum34 (from cryptography>=1.2.3->blockstack-profiles>=0.4.4->blockstack)\r\n  Downloading enum34-1.1.6-py2-none-any.whl\r\nDownloading/unpacking ipaddress (from cryptography>=1.2.3->blockstack-profiles>=0.4.4->blockstack)\r\n  Downloading ipaddress-1.0.17-py2-none-any.whl\r\nDownloading/unpacking cffi>=1.4.1 (from cryptography>=1.2.3->blockstack-profiles>=0.4.4->blockstack)\r\n  Running setup.py (path:/tmp/pip_build_root/cffi/setup.py) egg_info for package cffi\r\n    \r\nDownloading/unpacking bitmerchant>=0.1.8 (from keychain>=0.1.4->pybitcoin>=0.9.9->blockstack)\r\n  Downloading bitmerchant-0.1.8-py2.py3-none-any.whl\r\nDownloading/unpacking pycparser (from cffi>=1.4.1->cryptography>=1.2.3->blockstack-profiles>=0.4.4->blockstack)\r\n  Running setup.py (path:/tmp/pip_build_root/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\nDownloading/unpacking cachetools>=1.1.1 (from bitmerchant>=0.1.8->keychain>=0.1.4->pybitcoin>=0.9.9->blockstack)\r\n  Downloading cachetools-2.0.0-py2.py3-none-any.whl\r\nDownloading/unpacking base58>=0.2.1 (from bitmerchant>=0.1.8->keychain>=0.1.4->pybitcoin>=0.9.9->blockstack)\r\n  Downloading base58-0.2.3.tar.gz\r\n  Running setup.py (path:/tmp/pip_build_root/base58/setup.py) egg_info for package base58\r\n    \r\nInstalling collected packages: cryptography, jsontokens, requests, commontools, keychain, boto, basicrpc, idna, pyasn1, setuptools, enum34, ipaddress, cffi, bitmerchant, pycparser, cachetools, base58\r\n  Running setup.py install for cryptography\r\n    c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory\r\n     #include <ffi.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_root/cryptography/setup.py\", line 334, 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 239, in __init__\r\n        self.fetch_build_eggs(attrs.pop('setup_requires'))\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 264, in fetch_build_eggs\r\n        replace_conflicting=True\r\n      File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 620, 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.py\", line 858, in best_match\r\n        return self.obtain(req, installer) # try and download/install\r\n      File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 870, in obtain\r\n        return installer(requirement)\r\n      File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 314, 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 616, 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 646, 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 834, 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 1040, 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 1028, 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_root/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-IeKwQz-record/install-record.txt --single-version-externally-managed --compile:\r\n    c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory\r\n\r\n #include <ffi.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_root/cryptography/setup.py\", line 334, 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 239, in __init__\r\n\r\n    self.fetch_build_eggs(attrs.pop('setup_requires'))\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 264, in fetch_build_eggs\r\n\r\n    replace_conflicting=True\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 620, 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.py\", line 858, in best_match\r\n\r\n    return self.obtain(req, installer) # try and download/install\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 870, in obtain\r\n\r\n    return installer(requirement)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/setuptools/dist.py\", line 314, 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 616, 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 646, 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 834, 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 1040, 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 1028, 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_root/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-IeKwQz-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/cryptography\r\nStoring debug log for failure in /root/.pip/pip.log\r\n```"},"comment":{"url":"https://api.github.com/repos/blockstack/blockstack-core/issues/comments/252054113","html_url":"https://github.com/blockstack/blockstack-core/issues/246#issuecomment-252054113","issue_url":"https://api.github.com/repos/blockstack/blockstack-core/issues/246","id":252054113,"user":{"login":"JustinDrake","id":731743,"avatar_url":"https://avatars.githubusercontent.com/u/731743?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinDrake","html_url":"https://github.com/JustinDrake","followers_url":"https://api.github.com/users/JustinDrake/followers","following_url":"https://api.github.com/users/JustinDrake/following{/other_user}","gists_url":"https://api.github.com/users/JustinDrake/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinDrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinDrake/subscriptions","organizations_url":"https://api.github.com/users/JustinDrake/orgs","repos_url":"https://api.github.com/users/JustinDrake/repos","events_url":"https://api.github.com/users/JustinDrake/events{/privacy}","received_events_url":"https://api.github.com/users/JustinDrake/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T18:48:29Z","updated_at":"2016-10-06T18:48:29Z","body":"@pandu-rao I didn't. Where is that documented? This particular error seems to have gone with `libffi-dev`."}}
{"actor":{"display_login":"JustinDrake"}}