{"action":"created","issue":{"url":"https://api.github.com/repos/Uberi/speech_recognition/issues/272","repository_url":"https://api.github.com/repos/Uberi/speech_recognition","labels_url":"https://api.github.com/repos/Uberi/speech_recognition/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/Uberi/speech_recognition/issues/272/comments","events_url":"https://api.github.com/repos/Uberi/speech_recognition/issues/272/events","html_url":"https://github.com/Uberi/speech_recognition/issues/272","id":258280778,"number":272,"title":"SpeechRecognition installed with pip and pip3 but can't import it in either terminal or atom.io","user":{"login":"sanster9292","id":11487696,"avatar_url":"https://avatars2.githubusercontent.com/u/11487696?v=4","gravatar_id":"","url":"https://api.github.com/users/sanster9292","html_url":"https://github.com/sanster9292","followers_url":"https://api.github.com/users/sanster9292/followers","following_url":"https://api.github.com/users/sanster9292/following{/other_user}","gists_url":"https://api.github.com/users/sanster9292/gists{/gist_id}","starred_url":"https://api.github.com/users/sanster9292/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanster9292/subscriptions","organizations_url":"https://api.github.com/users/sanster9292/orgs","repos_url":"https://api.github.com/users/sanster9292/repos","events_url":"https://api.github.com/users/sanster9292/events{/privacy}","received_events_url":"https://api.github.com/users/sanster9292/received_events","type":"User","site_admin":false},"labels":[{"id":769844598,"url":"https://api.github.com/repos/Uberi/speech_recognition/labels/needinfo","name":"needinfo","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-09-17T05:24:57Z","updated_at":"2018-02-01T07:20:19Z","closed_at":null,"author_association":"NONE","body":"Steps to reproduce\r\n------------------\r\n\r\n1. (How do you make the issue happen? Does it happen every time you try it?)\r\nEvery time I try to import speech_recogntion in a python file, it can't be imported and I get an error.\r\n2. (Make sure to go into as much detail as needed to reproduce the issue. Posting your code here can help us resolve the problem much faster!)\r\nI wrote a one-line file with simple command \r\nimport speech-recognition and it gives me the following error:\r\n               import speech_recognition as sr\r\n               ImportError: No module named speech_recognition\r\nI have this module installed using both pip and pip3 and it appears in\r\ntheir list of installed modules but I can't seem to get it to be imported when i try executing a script either from the terminal or in atom.io. I am not sure why this is, I would really appreciate any help in this regard\r\n\r\n\r\n3. (If there are any files, like audio recordings, don't forget to include them.)\r\n\r\nExpected behaviour\r\n------------------\r\n\r\n(What did you expect to happen?)\r\n\r\nActual behaviour  for the module to be imported properly without any error\r\n----------------\r\n\r\n(What happened instead? How is it different from what you expected?)\r\n\r\n```I get an ImportError and I am not sure why \r\n(If the library threw an exception, paste the full stack trace here)\r\n```\r\n\r\nSystem information\r\n------------------\r\n\r\n(Delete all the statements that don't apply.)\r\n\r\nMy **system** is <Ubuntu 16.04 LTS >\r\n\r\nMy **Python version** is <Python 2.7.12>. \r\n\r\nMy **Pip version** is <pip 9.0.1>. \r\n\r\nMy **SpeechRecognition library version** is <SpeechRecognition (3.6.5)\r\n>.\r\n\r\nMy **PyAudio library version** is 0.2.8\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Uberi/speech_recognition/issues/comments/362179866","html_url":"https://github.com/Uberi/speech_recognition/issues/272#issuecomment-362179866","issue_url":"https://api.github.com/repos/Uberi/speech_recognition/issues/272","id":362179866,"user":{"login":"Uberi","id":437196,"avatar_url":"https://avatars1.githubusercontent.com/u/437196?v=4","gravatar_id":"","url":"https://api.github.com/users/Uberi","html_url":"https://github.com/Uberi","followers_url":"https://api.github.com/users/Uberi/followers","following_url":"https://api.github.com/users/Uberi/following{/other_user}","gists_url":"https://api.github.com/users/Uberi/gists{/gist_id}","starred_url":"https://api.github.com/users/Uberi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Uberi/subscriptions","organizations_url":"https://api.github.com/users/Uberi/orgs","repos_url":"https://api.github.com/users/Uberi/repos","events_url":"https://api.github.com/users/Uberi/events{/privacy}","received_events_url":"https://api.github.com/users/Uberi/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T07:20:19Z","updated_at":"2018-02-01T07:20:19Z","author_association":"OWNER","body":"Strange, that should be the correct directory structure. Can you list the contents of that `speech_recognition` directory above?"}}
{"actor":{"display_login":"Uberi"}}