{"action":"created","issue":{"url":"https://api.github.com/repos/ros/geometry2/issues/411","repository_url":"https://api.github.com/repos/ros/geometry2","labels_url":"https://api.github.com/repos/ros/geometry2/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/ros/geometry2/issues/411/comments","events_url":"https://api.github.com/repos/ros/geometry2/issues/411/events","html_url":"https://github.com/ros/geometry2/issues/411","id":493563956,"node_id":"MDU6SXNzdWU0OTM1NjM5NTY=","number":411,"title":"geometry2 / tf2_py incompatible with python 3.6 and 3.7","user":{"login":"Simon-Steinmann","id":52213164,"node_id":"MDQ6VXNlcjUyMjEzMTY0","avatar_url":"https://avatars1.githubusercontent.com/u/52213164?v=4","gravatar_id":"","url":"https://api.github.com/users/Simon-Steinmann","html_url":"https://github.com/Simon-Steinmann","followers_url":"https://api.github.com/users/Simon-Steinmann/followers","following_url":"https://api.github.com/users/Simon-Steinmann/following{/other_user}","gists_url":"https://api.github.com/users/Simon-Steinmann/gists{/gist_id}","starred_url":"https://api.github.com/users/Simon-Steinmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simon-Steinmann/subscriptions","organizations_url":"https://api.github.com/users/Simon-Steinmann/orgs","repos_url":"https://api.github.com/users/Simon-Steinmann/repos","events_url":"https://api.github.com/users/Simon-Steinmann/events{/privacy}","received_events_url":"https://api.github.com/users/Simon-Steinmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-09-14T00:56:16Z","updated_at":"2019-09-16T17:44:36Z","closed_at":null,"author_association":"NONE","body":"Just in case someone runs into it with ROS Melodic on Ubuntu 18.04, because presented solution which worked fine on 16.04 does not work anymore. I managed to get around it with:\r\n\r\n`catkin_make -DPYTHON_EXECUTABLE:FILEPATH=/path/to/virtualenv/python`\r\n\r\nor in case that you are using `catkin build`:\r\n\r\n`catkin build --cmake-args -DPYTHON_EXECUTABLE:FILEPATH=/path/to/virtualenv/python`\r\n\r\n_Originally posted by @Jendker in https://github.com/ros/geometry2/issues/259#issuecomment-513596006_\r\n\r\n\r\nSo I painstakingly figured out that while yes, this fix for 18.04 works, however make sure you create a virtual environment for python 3.5, python 3.6 and 3.7 DO NOT WORK"},"comment":{"url":"https://api.github.com/repos/ros/geometry2/issues/comments/531882707","html_url":"https://github.com/ros/geometry2/issues/411#issuecomment-531882707","issue_url":"https://api.github.com/repos/ros/geometry2/issues/411","id":531882707,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMTg4MjcwNw==","user":{"login":"Jendker","id":14967831,"node_id":"MDQ6VXNlcjE0OTY3ODMx","avatar_url":"https://avatars1.githubusercontent.com/u/14967831?v=4","gravatar_id":"","url":"https://api.github.com/users/Jendker","html_url":"https://github.com/Jendker","followers_url":"https://api.github.com/users/Jendker/followers","following_url":"https://api.github.com/users/Jendker/following{/other_user}","gists_url":"https://api.github.com/users/Jendker/gists{/gist_id}","starred_url":"https://api.github.com/users/Jendker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jendker/subscriptions","organizations_url":"https://api.github.com/users/Jendker/orgs","repos_url":"https://api.github.com/users/Jendker/repos","events_url":"https://api.github.com/users/Jendker/events{/privacy}","received_events_url":"https://api.github.com/users/Jendker/received_events","type":"User","site_admin":false},"created_at":"2019-09-16T17:44:36Z","updated_at":"2019-09-16T17:44:36Z","author_association":"NONE","body":"I am using Python 3.6 and can import `tf2_ros` or `tf2_py` without any problems. Maybe it's somehow related to Anaconda?\r\n\r\nWhat about just using Python 3.6 delivered with apt? It works for me without any problems.\r\n\r\n`sudo apt install python3`"}}
{"actor":{"display_login":"Jendker"}}