{"action":"created","issue":{"url":"https://api.github.com/repos/tbarbugli/cassandra_snapshotter/issues/123","repository_url":"https://api.github.com/repos/tbarbugli/cassandra_snapshotter","labels_url":"https://api.github.com/repos/tbarbugli/cassandra_snapshotter/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/tbarbugli/cassandra_snapshotter/issues/123/comments","events_url":"https://api.github.com/repos/tbarbugli/cassandra_snapshotter/issues/123/events","html_url":"https://github.com/tbarbugli/cassandra_snapshotter/issues/123","id":322187606,"number":123,"title":"issue on ubuntu docker - ImportError: No module named 'fabric.api'","user":{"login":"AmitTeli","id":9777847,"avatar_url":"https://avatars2.githubusercontent.com/u/9777847?v=4","gravatar_id":"","url":"https://api.github.com/users/AmitTeli","html_url":"https://github.com/AmitTeli","followers_url":"https://api.github.com/users/AmitTeli/followers","following_url":"https://api.github.com/users/AmitTeli/following{/other_user}","gists_url":"https://api.github.com/users/AmitTeli/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitTeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitTeli/subscriptions","organizations_url":"https://api.github.com/users/AmitTeli/orgs","repos_url":"https://api.github.com/users/AmitTeli/repos","events_url":"https://api.github.com/users/AmitTeli/events{/privacy}","received_events_url":"https://api.github.com/users/AmitTeli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-11T06:53:48Z","updated_at":"2018-05-15T11:27:57Z","closed_at":null,"author_association":"NONE","body":"This is my docker file.\r\n\r\n```\r\n\r\nFROM ubuntu:16.04\r\n\r\nRUN apt-get update \\\r\n  && apt-get install -y python3-pip python3-dev \\\r\n  && cd /usr/local/bin \\\r\n  && ln -s /usr/bin/python3 python \\\r\n  && pip3 install --upgrade pip\r\n\r\nRUN apt-get update\r\nRUN apt-get -y install lzop\r\nRUN apt-get -y install awscli\r\nRUN pip install cassandra_snapshotter\r\n\r\n```\r\nWhen I run cassandra-snapshotter I get following error\r\n```\r\nroot@1cdffbb6e473:/usr/work/cassandra# cassandra-snapshotter\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/cassandra-snapshotter\", line 7, in <module>\r\n    from cassandra_snapshotter.main import main\r\n  File \"/usr/local/lib/python3.5/dist-packages/cassandra_snapshotter/main.py\", line 5, in <module>\r\n    from fabric.api import env\r\nImportError: No module named 'fabric.api'\r\n```\r\nAppreciate the help!\r\nAmit\r\n"},"comment":{"url":"https://api.github.com/repos/tbarbugli/cassandra_snapshotter/issues/comments/389133523","html_url":"https://github.com/tbarbugli/cassandra_snapshotter/issues/123#issuecomment-389133523","issue_url":"https://api.github.com/repos/tbarbugli/cassandra_snapshotter/issues/123","id":389133523,"user":{"login":"AmitTeli","id":9777847,"avatar_url":"https://avatars2.githubusercontent.com/u/9777847?v=4","gravatar_id":"","url":"https://api.github.com/users/AmitTeli","html_url":"https://github.com/AmitTeli","followers_url":"https://api.github.com/users/AmitTeli/followers","following_url":"https://api.github.com/users/AmitTeli/following{/other_user}","gists_url":"https://api.github.com/users/AmitTeli/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitTeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitTeli/subscriptions","organizations_url":"https://api.github.com/users/AmitTeli/orgs","repos_url":"https://api.github.com/users/AmitTeli/repos","events_url":"https://api.github.com/users/AmitTeli/events{/privacy}","received_events_url":"https://api.github.com/users/AmitTeli/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T11:27:57Z","updated_at":"2018-05-15T11:27:57Z","author_association":"NONE","body":"Thanks a ton to @tbarbugli  and @artursmolarek !\r\nPython 2.7 and Fabric 1.13.1 works.\r\nmy final docker file\r\n\r\n```\r\nFROM python:2.7\r\n\r\nRUN apt-get update\r\nRUN apt-get -y install lzop\r\nRUN apt-get -y install awscli\r\nRUN pip install fabric==1.13.1\r\nRUN pip install cassandra_snapshotter\r\n\r\nCMD /bin/bash\r\n```\r\nworks fine.\r\nThanks again!"}}
{"actor":{"display_login":"AmitTeli"}}