{"action":"created","issue":{"url":"https://api.github.com/repos/ros/ros_comm/issues/848","repository_url":"https://api.github.com/repos/ros/ros_comm","labels_url":"https://api.github.com/repos/ros/ros_comm/issues/848/labels{/name}","comments_url":"https://api.github.com/repos/ros/ros_comm/issues/848/comments","events_url":"https://api.github.com/repos/ros/ros_comm/issues/848/events","html_url":"https://github.com/ros/ros_comm/issues/848","id":167575659,"number":848,"title":"import rospy fails","user":{"login":"eendebakpt","id":883786,"avatar_url":"https://avatars.githubusercontent.com/u/883786?v=3","gravatar_id":"","url":"https://api.github.com/users/eendebakpt","html_url":"https://github.com/eendebakpt","followers_url":"https://api.github.com/users/eendebakpt/followers","following_url":"https://api.github.com/users/eendebakpt/following{/other_user}","gists_url":"https://api.github.com/users/eendebakpt/gists{/gist_id}","starred_url":"https://api.github.com/users/eendebakpt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eendebakpt/subscriptions","organizations_url":"https://api.github.com/users/eendebakpt/orgs","repos_url":"https://api.github.com/users/eendebakpt/repos","events_url":"https://api.github.com/users/eendebakpt/events{/privacy}","received_events_url":"https://api.github.com/users/eendebakpt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ros/ros_comm/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-26T10:35:46Z","updated_at":"2016-07-26T15:37:16Z","closed_at":"2016-07-26T15:37:16Z","body":"I installed rospy using the `setup.py` (and also `cmake`) without any errors (python3). However, when I try `import rospy` I get the following error message:\r\n``` python\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/home/eendebakpt/.local/lib/python3.5/site-packages/rospy/__init__.py\", line 47, in <module>\r\n    from std_msgs.msg import Header\r\nImportError: No module named 'std_msgs'\r\n```\r\nWhere can I find and install `std_msgs`? Should the `std_msgs` package be added to the requirements of `setup.py`?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ros/ros_comm/issues/comments/235307786","html_url":"https://github.com/ros/ros_comm/issues/848#issuecomment-235307786","issue_url":"https://api.github.com/repos/ros/ros_comm/issues/848","id":235307786,"user":{"login":"dirk-thomas","id":1335366,"avatar_url":"https://avatars.githubusercontent.com/u/1335366?v=3","gravatar_id":"","url":"https://api.github.com/users/dirk-thomas","html_url":"https://github.com/dirk-thomas","followers_url":"https://api.github.com/users/dirk-thomas/followers","following_url":"https://api.github.com/users/dirk-thomas/following{/other_user}","gists_url":"https://api.github.com/users/dirk-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/dirk-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirk-thomas/subscriptions","organizations_url":"https://api.github.com/users/dirk-thomas/orgs","repos_url":"https://api.github.com/users/dirk-thomas/repos","events_url":"https://api.github.com/users/dirk-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/dirk-thomas/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T15:37:15Z","updated_at":"2016-07-26T15:37:15Z","body":"You should not use the `setup.py` file to install ROS packages but only use `cmake`. The dependencies of a package are defined in the `package.xml` file. You need to build / install all dependencies before you can build a package (see [from-source installation instructions](http://wiki.ros.org/kinetic/Installation/Source)).\r\n\r\nPlease also see the [support guideline](http://wiki.ros.org/Support) and ask further questions at http://answers.ros.org "}}
{"actor":{"display_login":"dirk-thomas"}}