{"action":"created","issue":{"url":"https://api.github.com/repos/rfk/pyenchant/issues/85","repository_url":"https://api.github.com/repos/rfk/pyenchant","labels_url":"https://api.github.com/repos/rfk/pyenchant/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/rfk/pyenchant/issues/85/comments","events_url":"https://api.github.com/repos/rfk/pyenchant/issues/85/events","html_url":"https://github.com/rfk/pyenchant/issues/85","id":169769627,"number":85,"title":"Wheel for version 1.6.7 causes 'Illegal instruction: 4' on OSX","user":{"login":"miccoli","id":6403904,"avatar_url":"https://avatars.githubusercontent.com/u/6403904?v=3","gravatar_id":"","url":"https://api.github.com/users/miccoli","html_url":"https://github.com/miccoli","followers_url":"https://api.github.com/users/miccoli/followers","following_url":"https://api.github.com/users/miccoli/following{/other_user}","gists_url":"https://api.github.com/users/miccoli/gists{/gist_id}","starred_url":"https://api.github.com/users/miccoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miccoli/subscriptions","organizations_url":"https://api.github.com/users/miccoli/orgs","repos_url":"https://api.github.com/users/miccoli/repos","events_url":"https://api.github.com/users/miccoli/events{/privacy}","received_events_url":"https://api.github.com/users/miccoli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-06T22:27:29Z","updated_at":"2016-08-09T01:14:19Z","closed_at":null,"body":"The binaries included within `pyenchant-1.6.7-py2.py3.cp27.cp32.cp33.cp34.cp35.pp27.pp33-none-macosx_10_6_intel.macosx_10_9_intel.whl` cause an `Illegal instruction: 4` error.\r\n\r\n```\r\n$ pyenv -v\r\npyenv 20160726\r\n$ pip install pyenchant --no-cache-dir\r\nCollecting pyenchant\r\n  Downloading pyenchant-1.6.7-py2.py3.cp27.cp32.cp33.cp34.cp35.pp27.pp33-none-macosx_10_6_intel.macosx_10_9_intel.whl (4.8MB)\r\n    100% |################################| 4.8MB 12.2MB/s \r\nInstalling collected packages: pyenchant\r\nSuccessfully installed pyenchant-1.6.7\r\n$ python\r\nPython 3.5.2 (default, Jul 30 2016, 16:05:06) \r\n[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import enchant\r\nIllegal instruction: 4\r\n```\r\n\r\nA quick work-around is \r\n\r\n```\r\n$ pip uninstall -yq pyenchant\r\n$ pip install --no-cache-dir --no-binary :all: pyenchant\r\nCollecting pyenchant\r\n  Downloading pyenchant-1.6.7.tar.gz (63kB)\r\n    100% |################################| 71kB 1.9MB/s \r\nInstalling collected packages: pyenchant\r\n  Running setup.py install for pyenchant ... done\r\nSuccessfully installed pyenchant-1.6.7\r\n$ python\r\nPython 3.5.2 (default, Jul 30 2016, 16:05:06) \r\n[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import enchant\r\n>>> \r\n```\r\n\r\nThis error could be linked to the fact that the the wheel is compiled with optimisations that generate code not supported on older CPUs, see this [thread](https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/624902#)"},"comment":{"url":"https://api.github.com/repos/rfk/pyenchant/issues/comments/238425827","html_url":"https://github.com/rfk/pyenchant/issues/85#issuecomment-238425827","issue_url":"https://api.github.com/repos/rfk/pyenchant/issues/85","id":238425827,"user":{"login":"reaperhulk","id":161495,"avatar_url":"https://avatars.githubusercontent.com/u/161495?v=3","gravatar_id":"","url":"https://api.github.com/users/reaperhulk","html_url":"https://github.com/reaperhulk","followers_url":"https://api.github.com/users/reaperhulk/followers","following_url":"https://api.github.com/users/reaperhulk/following{/other_user}","gists_url":"https://api.github.com/users/reaperhulk/gists{/gist_id}","starred_url":"https://api.github.com/users/reaperhulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reaperhulk/subscriptions","organizations_url":"https://api.github.com/users/reaperhulk/orgs","repos_url":"https://api.github.com/users/reaperhulk/repos","events_url":"https://api.github.com/users/reaperhulk/events{/privacy}","received_events_url":"https://api.github.com/users/reaperhulk/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T01:14:19Z","updated_at":"2016-08-09T01:14:19Z","body":"@rfk we've had this problem with pyca/cryptography wheels in the past when I forgot to rebuild the libraries we were statically linking out of homebrew with `--build-bottle` (which sets arch to core2duo and will work on any mac). I'm guessing you probably did a `brew reinstall enchant --universal` to get a universal build, but you really need `brew reinstall enchant --universal --build-bottle`"}}
{"actor":{"display_login":"reaperhulk"}}