{"action":"created","issue":{"url":"https://api.github.com/repos/ros2/ros2/issues/522","repository_url":"https://api.github.com/repos/ros2/ros2","labels_url":"https://api.github.com/repos/ros2/ros2/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/ros2/ros2/issues/522/comments","events_url":"https://api.github.com/repos/ros2/ros2/issues/522/events","html_url":"https://github.com/ros2/ros2/issues/522","id":338213884,"node_id":"MDU6SXNzdWUzMzgyMTM4ODQ=","number":522,"title":"[macOS Binary]pyyaml installing failed on python3.7 installed by brew","user":{"login":"minggangw","id":6469275,"node_id":"MDQ6VXNlcjY0NjkyNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/6469275?v=4","gravatar_id":"","url":"https://api.github.com/users/minggangw","html_url":"https://github.com/minggangw","followers_url":"https://api.github.com/users/minggangw/followers","following_url":"https://api.github.com/users/minggangw/following{/other_user}","gists_url":"https://api.github.com/users/minggangw/gists{/gist_id}","starred_url":"https://api.github.com/users/minggangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minggangw/subscriptions","organizations_url":"https://api.github.com/users/minggangw/orgs","repos_url":"https://api.github.com/users/minggangw/repos","events_url":"https://api.github.com/users/minggangw/events{/privacy}","received_events_url":"https://api.github.com/users/minggangw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-04T10:08:53Z","updated_at":"2018-07-06T02:44:11Z","closed_at":"2018-07-06T02:44:11Z","author_association":"NONE","body":"Recently homebrew has upgraded the python3 from 3.6.5 to [3.7](https://formulae.brew.sh/formula/python). And when I installed the pyyaml, which is a dependency of ROS 2.0, through `pip`, there was an [error](https://circleci.com/gh/RobotWebTools/rclnodejs/333?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link) (looks like it's incompatible with 3.7 version)\r\n\r\n```\r\n building '_yaml' extension\r\n  creating build/temp.macosx-10.12-x86_64-3.7/ext\r\n  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c ext/_yaml.c -o build/temp.macosx-10.12-x86_64-3.7/ext/_yaml.o\r\n  In file included from ext/_yaml.c:271:\r\n  ext/_yaml.h:10:9: warning: 'PyString_CheckExact' macro redefined [-Wmacro-redefined]\r\n  #define PyString_CheckExact PyBytes_CheckExact\r\n          ^\r\n  ext/_yaml.c:139:11: note: previous definition is here\r\n    #define PyString_CheckExact          PyUnicode_CheckExact\r\n            ^\r\n  ext/_yaml.c:1410:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]\r\n    __pyx_v_value = yaml_get_version_string();\r\n                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\r\n  ext/_yaml.c:2577:52: warning: incompatible pointer types passing 'int (void *, char *, size_t, size_t *)' (aka 'int (void *, char *, unsigned long, unsigned long *)') to parameter of type 'yaml_read_handler_t *' (aka 'int (*)(void *, unsigned char *, unsigned long, unsigned long *)') [-Wincompatible-pointer-types]\r\n      yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));\r\n                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n  /usr/local/include/yaml.h:1368:30: note: passing argument to parameter 'handler' here\r\n          yaml_read_handler_t *handler, void *data);\r\n                               ^\r\n```\r\n\r\nI eliminate this error by installing the old version, which is 3.6.5\r\n\r\n```\r\nbrew install https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb\r\n```\r\n\r\nIs it necessary to update the WiKi for the macOS platform to point out?"},"comment":{"url":"https://api.github.com/repos/ros2/ros2/issues/comments/402909185","html_url":"https://github.com/ros2/ros2/issues/522#issuecomment-402909185","issue_url":"https://api.github.com/repos/ros2/ros2/issues/522","id":402909185,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjkwOTE4NQ==","user":{"login":"minggangw","id":6469275,"node_id":"MDQ6VXNlcjY0NjkyNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/6469275?v=4","gravatar_id":"","url":"https://api.github.com/users/minggangw","html_url":"https://github.com/minggangw","followers_url":"https://api.github.com/users/minggangw/followers","following_url":"https://api.github.com/users/minggangw/following{/other_user}","gists_url":"https://api.github.com/users/minggangw/gists{/gist_id}","starred_url":"https://api.github.com/users/minggangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minggangw/subscriptions","organizations_url":"https://api.github.com/users/minggangw/orgs","repos_url":"https://api.github.com/users/minggangw/repos","events_url":"https://api.github.com/users/minggangw/events{/privacy}","received_events_url":"https://api.github.com/users/minggangw/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T02:44:11Z","updated_at":"2018-07-06T02:44:11Z","author_association":"NONE","body":"I have updated the macOS installing/building section of WiKi, please check it out:\r\n\r\n- [OSX Install Binary](https://github.com/ros2/ros2/wiki/OSX-Install-Binary/_compare/e7b03ccbc714c1c3b2397680fc20a3d6c5e47741...87080531da4f3479bcb9d05023ea874e91077bc0)\r\n- [OSX Development Setup](https://github.com/ros2/ros2/wiki/OSX-Development-Setup/_compare/8e20672da057b441a634428e2fccecdb15e540f2...6924358120595331a513766645184878a5883f10)\r\n\r\nI am going to close this issue, please reopen it if anything is wrong. Thanks!"}}
{"actor":{"display_login":"minggangw"}}