{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10667","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10667/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10667/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10667/events","html_url":"https://github.com/NixOS/nixpkgs/issues/10667","id":113803950,"number":10667,"title":"Tkinter problem on darwin","user":{"login":"davidak","id":91113,"avatar_url":"https://avatars.githubusercontent.com/u/91113?v=3","gravatar_id":"","url":"https://api.github.com/users/davidak","html_url":"https://github.com/davidak","followers_url":"https://api.github.com/users/davidak/followers","following_url":"https://api.github.com/users/davidak/following{/other_user}","gists_url":"https://api.github.com/users/davidak/gists{/gist_id}","starred_url":"https://api.github.com/users/davidak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidak/subscriptions","organizations_url":"https://api.github.com/users/davidak/orgs","repos_url":"https://api.github.com/users/davidak/repos","events_url":"https://api.github.com/users/davidak/events{/privacy}","received_events_url":"https://api.github.com/users/davidak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20darwin","name":"6.topic: darwin","color":"fef2c0"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20python","name":"6.topic: python","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-10-28T11:55:53Z","updated_at":"2016-07-01T11:34:06Z","closed_at":null,"body":"i get this problem on OS X 10.9.5 but not on NixOS.\r\n\r\ncode of guitest.py\r\n```\r\n#! /usr/bin/env nix-shell\r\n#! nix-shell -i python -p python python27Packages.tkinter\r\n\r\nimport Tkinter\r\n\r\nclass simpleapp_tk(Tkinter.Tk):\r\n    def __init__(self,parent):\r\n        Tkinter.Tk.__init__(self,parent)\r\n        self.parent = parent\r\n        self.initialize()\r\n\r\n    def initialize(self):\r\n        pass\r\n\r\nif __name__ == \"__main__\":\r\n    app = simpleapp_tk(None)\r\n    app.title('my application')\r\n    app.mainloop()\r\n```\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"./guitest.py\", line 16, in <module>\r\n    app = simpleapp_tk(None)\r\n  File \"./guitest.py\", line 8, in __init__\r\n    Tkinter.Tk.__init__(self,parent)\r\n  File \"/nix/store/qp0d2fi7bqsb3vl1qpknc294klq4g9zp-python-2.7.10/lib/python2.7/lib-tk/Tkinter.py\", line 1816, in __init__\r\n    self._loadtk()\r\n  File \"/nix/store/qp0d2fi7bqsb3vl1qpknc294klq4g9zp-python-2.7.10/lib/python2.7/lib-tk/Tkinter.py\", line 1832, in _loadtk\r\n    % (_tkinter.TK_VERSION, tk_version)\r\nRuntimeError: tk.h version (8.6) doesn't match libtk.a version (8.5)\r\n```\r\n\r\nsame error with `#! nix-shell -i python3 -p python3`"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/229924934","html_url":"https://github.com/NixOS/nixpkgs/issues/10667#issuecomment-229924934","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10667","id":229924934,"user":{"login":"FRidh","id":2129135,"avatar_url":"https://avatars.githubusercontent.com/u/2129135?v=3","gravatar_id":"","url":"https://api.github.com/users/FRidh","html_url":"https://github.com/FRidh","followers_url":"https://api.github.com/users/FRidh/followers","following_url":"https://api.github.com/users/FRidh/following{/other_user}","gists_url":"https://api.github.com/users/FRidh/gists{/gist_id}","starred_url":"https://api.github.com/users/FRidh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FRidh/subscriptions","organizations_url":"https://api.github.com/users/FRidh/orgs","repos_url":"https://api.github.com/users/FRidh/repos","events_url":"https://api.github.com/users/FRidh/events{/privacy}","received_events_url":"https://api.github.com/users/FRidh/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T11:34:06Z","updated_at":"2016-07-01T11:34:06Z","body":"Has this been fixed? Is this issue still relevant?"}}
{"actor":{"display_login":"FRidh"}}