{"action":"created","issue":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/61","labels_url":"https://api.github.com/repos/ultrabug/py3status/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/ultrabug/py3status/issues/61/comments","events_url":"https://api.github.com/repos/ultrabug/py3status/issues/61/events","html_url":"https://github.com/ultrabug/py3status/issues/61","id":55764749,"number":61,"title":"Problems installing py3status","user":{"login":"gerritwalther","id":1128084,"avatar_url":"https://avatars.githubusercontent.com/u/1128084?v=3","gravatar_id":"","url":"https://api.github.com/users/gerritwalther","html_url":"https://github.com/gerritwalther","followers_url":"https://api.github.com/users/gerritwalther/followers","following_url":"https://api.github.com/users/gerritwalther/following{/other_user}","gists_url":"https://api.github.com/users/gerritwalther/gists{/gist_id}","starred_url":"https://api.github.com/users/gerritwalther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerritwalther/subscriptions","organizations_url":"https://api.github.com/users/gerritwalther/orgs","repos_url":"https://api.github.com/users/gerritwalther/repos","events_url":"https://api.github.com/users/gerritwalther/events{/privacy}","received_events_url":"https://api.github.com/users/gerritwalther/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-01-28T14:47:30Z","updated_at":"2015-03-27T14:35:57Z","closed_at":"2015-03-27T14:35:57Z","body":"Hi,\r\n\r\nI've got some problems installing the newest version of py3status. I don't think its related to the new version, more some issues with my system, but maybe you can help me. I'm on Debian testing.\r\n\r\nI installed py3status (v2.1) about 9 days ago via pip:\r\n```\r\nsudo pip install py3status\r\n```\r\nUsed sudo because pip wanted to write it to `/usr/local/bin`. Everything worked fine.\r\n\r\nToday I wanted to adjust the output of the battery_level module. Nothing changed and I tried to upgrade to the newest version. Here is where I'm getting problems.\r\n\r\nI upgraded using pip:\r\n```\r\nsudo pip install --upgrade py3status\r\n```\r\nIt upgraded well. After that the permission of file `/usr/local/bin/py3status` was set to 700. Which prevented i3 to load it. I changed it to `755` in hope to change the problems. But when I try to check the version as a normal user I get the following stacktrace:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/py3status\", line 5, in <module>\r\n    from pkg_resources import load_entry_point\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 2876, in <module>\r\n    working_set = WorkingSet._build_master()\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 449, in _build_master\r\n    ws.require(__requires__)\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 745, in require\r\n    needed = self.resolve(parse_requirements(requirements))\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 639, in resolve\r\n    raise DistributionNotFound(req)\r\npkg_resources.DistributionNotFound: py3status==2.2\r\n```\r\nAfter some googling I found out that this might mean that there are multiple versions installed, but neither `pip freeze` nor `sudo pip freeze` list multiple versions.\r\n```\r\n$ sudo pip freeze\r\nargparse==1.2.1\r\ncffi==0.8.6\r\nchardet==2.3.0\r\ncolorama==0.3.2\r\ncryptography==0.6.1\r\nhtml5lib==0.999\r\nndg-httpsclient==0.3.2\r\nnumpy==1.8.2\r\nply==3.4\r\npy3status==2.2\r\npyOpenSSL==0.14\r\npyasn1==0.1.7\r\npycparser==2.10\r\npygobject==3.14.0\r\nrequests==2.4.3\r\nsix==1.8.0\r\nurllib3==1.9.1\r\nwheel==0.24.0\r\nwsgiref==0.1.2\r\n```\r\n```\r\n$ pip freeze\r\nargparse==1.2.1\r\ncffi==0.8.6\r\nchardet==2.3.0\r\ncolorama==0.3.2\r\ncryptography==0.6.1\r\nhtml5lib==0.999\r\nndg-httpsclient==0.3.2\r\nnumpy==1.8.2\r\nply==3.4\r\npyOpenSSL==0.14\r\npyasn1==0.1.7\r\npycparser==2.10\r\npygobject==3.14.0\r\nrequests==2.4.3\r\nsix==1.8.0\r\nurllib3==1.9.1\r\nwheel==0.24.0\r\nwsgiref==0.1.2\r\n```\r\n\r\nI tried to install version 2.1 with pip, but that didn't change anything and I removed it. I hope you can give me any hint on how to solve this. I'm already missing using py3status ;)"},"comment":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/comments/86960369","html_url":"https://github.com/ultrabug/py3status/issues/61#issuecomment-86960369","issue_url":"https://api.github.com/repos/ultrabug/py3status/issues/61","id":86960369,"user":{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T14:35:57Z","updated_at":"2015-03-27T14:35:57Z","body":"I added a note about this in the README, thanks guys.\r\n\r\nThis is while the debian package by @FedericoCeratto is coming live to apt ;)"}}