{"action":"opened","issue":{"url":"https://api.github.com/repos/BradRuderman/pyhs2/issues/70","repository_url":"https://api.github.com/repos/BradRuderman/pyhs2","labels_url":"https://api.github.com/repos/BradRuderman/pyhs2/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/BradRuderman/pyhs2/issues/70/comments","events_url":"https://api.github.com/repos/BradRuderman/pyhs2/issues/70/events","html_url":"https://github.com/BradRuderman/pyhs2/issues/70","id":237661549,"number":70,"title":"connecting to HiveServ from Python 3.6.1","user":{"login":"michela23","id":29613977,"avatar_url":"https://avatars1.githubusercontent.com/u/29613977?v=3","gravatar_id":"","url":"https://api.github.com/users/michela23","html_url":"https://github.com/michela23","followers_url":"https://api.github.com/users/michela23/followers","following_url":"https://api.github.com/users/michela23/following{/other_user}","gists_url":"https://api.github.com/users/michela23/gists{/gist_id}","starred_url":"https://api.github.com/users/michela23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michela23/subscriptions","organizations_url":"https://api.github.com/users/michela23/orgs","repos_url":"https://api.github.com/users/michela23/repos","events_url":"https://api.github.com/users/michela23/events{/privacy}","received_events_url":"https://api.github.com/users/michela23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-21T20:54:27Z","updated_at":"2017-06-21T20:54:27Z","closed_at":null,"body":"Hello \r\nI am trying to connect to Hive using python 3.6.1 \r\nimport pyhs2\r\n\r\n\r\nwith pyhs2.connect(host='xx.xxx.xxx.xxx',\r\n\t\t\tport=xxxx,\r\n\t\t\tauthMechanism=\"PLAIN\",\r\n\t\t\tuser='group',\r\n\t\t\tpassword='xxxx',\r\n\t\t\tdatabase='hadoop_introduction') as conn:\r\n\twith conn.cursor() as curr:\r\n\t\t#Show databases\r\n\t\t#print curr.getDatabases()\r\n\r\n\t\t#Execute query\r\n\t\tcurr.execute(\"select * from slocations\")\r\n\r\n\t\t#Return column info from query\r\n\t\t#print curr.getSchema()\r\n\r\n\t\t#Fetch table results\r\n\t\tfor i in curr.fetch():\r\n\t\t\tprint (i)\r\nHowever when I connect I get the below error \r\nTraceback (most recent call last):\r\n  File \"connect_hadoop.py\", line 14, in <module>\r\n    database='hadoop_introduction') as conn:\r\n  File \"\\AppData\\Roaming\\Python\\Python36\\site-packages\\pyhs2-0.6.0-py3.6.egg\\pyhs2\\__init__.py\", line 6, in connect\r\n  File \\AppData\\Roaming\\Python\\Python36\\site-packages\\pyhs2-0.6.0-py3.6.egg\\pyhs2\\connections.py\", line 7, in <module>\r\nModuleNotFoundError: No module named 'cloudera'"}}
{"actor":{"display_login":"michela23"}}