{"action":"created","issue":{"url":"https://api.github.com/repos/biosustain/swiglpk/issues/8","labels_url":"https://api.github.com/repos/biosustain/swiglpk/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/biosustain/swiglpk/issues/8/comments","events_url":"https://api.github.com/repos/biosustain/swiglpk/issues/8/events","html_url":"https://github.com/biosustain/swiglpk/issues/8","id":104486644,"number":8,"title":"Failure to install wheel","user":{"login":"jonls","id":420734,"avatar_url":"https://avatars.githubusercontent.com/u/420734?v=3","gravatar_id":"","url":"https://api.github.com/users/jonls","html_url":"https://github.com/jonls","followers_url":"https://api.github.com/users/jonls/followers","following_url":"https://api.github.com/users/jonls/following{/other_user}","gists_url":"https://api.github.com/users/jonls/gists{/gist_id}","starred_url":"https://api.github.com/users/jonls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonls/subscriptions","organizations_url":"https://api.github.com/users/jonls/orgs","repos_url":"https://api.github.com/users/jonls/repos","events_url":"https://api.github.com/users/jonls/events{/privacy}","received_events_url":"https://api.github.com/users/jonls/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-02T13:55:16Z","updated_at":"2015-09-16T19:18:28Z","closed_at":null,"body":"I have some trouble installing the package from PyPI since the 1.0.0 release. When I install 1.2.0 on OSX it looks like this:\r\n\r\n``` shell\r\n~ → . env/bin/activate\r\n(env) ~ → pip install swiglpk\r\nYou are using pip version 7.0.3, however version 7.1.2 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\nCollecting swiglpk\r\nInstalling collected packages: swiglpk\r\nSuccessfully installed swiglpk-1.2.0\r\n(env) ~ → python\r\nPython 2.7.10 (default, Aug 28 2015, 12:01:26) \r\n[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import swiglpk\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/Users/jon/env/lib/python2.7/site-packages/swiglpk.py\", line 118, in <module>\r\n    GLP_MAJOR_VERSION = _swiglpk.GLP_MAJOR_VERSION\r\nAttributeError: 'module' object has no attribute 'GLP_MAJOR_VERSION'\r\n>>>\r\n```\r\n\r\nSame error with 1.1.2 and 1.1.3. When I try to install 1.0.0 the `bdist_wheel` fails and then `pip` tries to `install`. For some reason that works fine. I can also do\r\n\r\n``` shell\r\n(env) ~ → pip install swiglpk --no-cache-dir\r\n```\r\n\r\nand the resulting package works fine. It seems that the difference when using `--no-cache-dir` is that `pip` uses the `install` command of `setup.py` instead of `bdist_wheel`. For this reason I suspect that there is something up with the `bdist_wheel` setup."},"comment":{"url":"https://api.github.com/repos/biosustain/swiglpk/issues/comments/140855792","html_url":"https://github.com/biosustain/swiglpk/issues/8#issuecomment-140855792","issue_url":"https://api.github.com/repos/biosustain/swiglpk/issues/8","id":140855792,"user":{"login":"jonls","id":420734,"avatar_url":"https://avatars.githubusercontent.com/u/420734?v=3","gravatar_id":"","url":"https://api.github.com/users/jonls","html_url":"https://github.com/jonls","followers_url":"https://api.github.com/users/jonls/followers","following_url":"https://api.github.com/users/jonls/following{/other_user}","gists_url":"https://api.github.com/users/jonls/gists{/gist_id}","starred_url":"https://api.github.com/users/jonls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonls/subscriptions","organizations_url":"https://api.github.com/users/jonls/orgs","repos_url":"https://api.github.com/users/jonls/repos","events_url":"https://api.github.com/users/jonls/events{/privacy}","received_events_url":"https://api.github.com/users/jonls/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T19:18:28Z","updated_at":"2015-09-16T19:18:28Z","body":"Ok, so testing again on Linux with SWIG 3.0.7 I now also get `AttributeError: 'module' object has no attribute 'GLP_MAJOR_VERSION'` instead of the error with `glp_prob__opaque_prob_set` that appeared with SWIG 1.3.40. Any ideas?"}}