{"action":"created","issue":{"url":"https://api.github.com/repos/OpenZWave/python-openzwave/issues/114","repository_url":"https://api.github.com/repos/OpenZWave/python-openzwave","labels_url":"https://api.github.com/repos/OpenZWave/python-openzwave/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/OpenZWave/python-openzwave/issues/114/comments","events_url":"https://api.github.com/repos/OpenZWave/python-openzwave/issues/114/events","html_url":"https://github.com/OpenZWave/python-openzwave/issues/114","id":293264954,"number":114,"title":"pkg-config not found on ubuntu when installing flavor ozwdev","user":{"login":"chilicheech","id":732659,"avatar_url":"https://avatars2.githubusercontent.com/u/732659?v=4","gravatar_id":"","url":"https://api.github.com/users/chilicheech","html_url":"https://github.com/chilicheech","followers_url":"https://api.github.com/users/chilicheech/followers","following_url":"https://api.github.com/users/chilicheech/following{/other_user}","gists_url":"https://api.github.com/users/chilicheech/gists{/gist_id}","starred_url":"https://api.github.com/users/chilicheech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chilicheech/subscriptions","organizations_url":"https://api.github.com/users/chilicheech/orgs","repos_url":"https://api.github.com/users/chilicheech/repos","events_url":"https://api.github.com/users/chilicheech/events{/privacy}","received_events_url":"https://api.github.com/users/chilicheech/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-31T18:31:13Z","updated_at":"2018-02-01T23:47:49Z","closed_at":"2018-02-01T23:47:49Z","author_association":"NONE","body":"Getting the following error when installing python_openzwave ozwdev flavor with `pip3 install python_openzwave --install-option=\"--flavor=ozwdev\"`. Dependencies were installed according to the readme `pip3 install cython wheel six 'PyDispatcher>=2.0.5'`:\r\n```\r\nCollecting python_openzwave\r\n  Downloading python_openzwave-0.4.1.zip (136kB)\r\n    Complete output from command python setup.py egg_info:\r\n    Traceback (most recent call last):\r\n      File \"/tmp/pip-build-u799cuhx/python-openzwave/pyozw_pkgconfig.py\", line 59, in _wrapper\r\n        return func(*args, **kwargs)\r\n      File \"/tmp/pip-build-u799cuhx/python-openzwave/pyozw_pkgconfig.py\", line 86, in exists\r\n        return subprocess.call(cmd) == 0\r\n      File \"/usr/lib/python3.6/subprocess.py\", line 267, in call\r\n        with Popen(*popenargs, **kwargs) as p:\r\n      File \"/usr/lib/python3.6/subprocess.py\", line 709, in __init__\r\n        restore_signals, start_new_session)\r\n      File \"/usr/lib/python3.6/subprocess.py\", line 1344, in _execute_child\r\n        raise child_exception_type(errno_num, err_msg, err_filename)\r\n    FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config': 'pkg-config'\r\n\r\n    During handling of the above exception, another exception occurred:\r\n\r\n    Traceback (most recent call last):\r\n      File \"/tmp/pip-build-u799cuhx/python-openzwave/pyozw_setup.py\", line 864, in parse_template\r\n        if pyozw_pkgconfig.exists('libopenzwave'):\r\n      File \"/tmp/pip-build-u799cuhx/python-openzwave/pyozw_pkgconfig.py\", line 61, in _wrapper\r\n        raise EnvironmentError(\"pkg-config is not installed\")\r\n    OSError: pkg-config is not installed\r\n\r\n    During handling of the above exception, another exception occurred:\r\n\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/tmp/pip-build-u799cuhx/python-openzwave/setup.py\", line 36, in <module>\r\n        from pyozw_setup import LOCAL_OPENZWAVE, SETUP_DIR\r\n      File \"/tmp/pip-build-u799cuhx/python-openzwave/pyozw_setup.py\", line 882, in <module>\r\n        current_template = parse_template(sys.argv)\r\n      File \"/tmp/pip-build-u799cuhx/python-openzwave/pyozw_setup.py\", line 867, in parse_template\r\n        log.exception(\"Can't use precompiled openzwave library\")\r\n    AttributeError: module 'distutils.log' has no attribute 'exception'\r\n```"},"comment":{"url":"https://api.github.com/repos/OpenZWave/python-openzwave/issues/comments/362439941","html_url":"https://github.com/OpenZWave/python-openzwave/issues/114#issuecomment-362439941","issue_url":"https://api.github.com/repos/OpenZWave/python-openzwave/issues/114","id":362439941,"user":{"login":"bibi21000","id":2250871,"avatar_url":"https://avatars3.githubusercontent.com/u/2250871?v=4","gravatar_id":"","url":"https://api.github.com/users/bibi21000","html_url":"https://github.com/bibi21000","followers_url":"https://api.github.com/users/bibi21000/followers","following_url":"https://api.github.com/users/bibi21000/following{/other_user}","gists_url":"https://api.github.com/users/bibi21000/gists{/gist_id}","starred_url":"https://api.github.com/users/bibi21000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibi21000/subscriptions","organizations_url":"https://api.github.com/users/bibi21000/orgs","repos_url":"https://api.github.com/users/bibi21000/repos","events_url":"https://api.github.com/users/bibi21000/events{/privacy}","received_events_url":"https://api.github.com/users/bibi21000/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T23:47:49Z","updated_at":"2018-02-01T23:47:49Z","author_association":"MEMBER","body":"Fixed\r\nThanks"}}
{"actor":{"display_login":"bibi21000"}}