{"action":"created","issue":{"url":"https://api.github.com/repos/josegonzalez/python-beaver/issues/286","labels_url":"https://api.github.com/repos/josegonzalez/python-beaver/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/josegonzalez/python-beaver/issues/286/comments","events_url":"https://api.github.com/repos/josegonzalez/python-beaver/issues/286/events","html_url":"https://github.com/josegonzalez/python-beaver/issues/286","id":54612906,"number":286,"title":"Installation problem on Ubuntu 12.04: ImportError: No module named version","user":{"login":"orion-raft","id":9013124,"avatar_url":"https://avatars.githubusercontent.com/u/9013124?v=3","gravatar_id":"","url":"https://api.github.com/users/orion-raft","html_url":"https://github.com/orion-raft","followers_url":"https://api.github.com/users/orion-raft/followers","following_url":"https://api.github.com/users/orion-raft/following{/other_user}","gists_url":"https://api.github.com/users/orion-raft/gists{/gist_id}","starred_url":"https://api.github.com/users/orion-raft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orion-raft/subscriptions","organizations_url":"https://api.github.com/users/orion-raft/orgs","repos_url":"https://api.github.com/users/orion-raft/repos","events_url":"https://api.github.com/users/orion-raft/events{/privacy}","received_events_url":"https://api.github.com/users/orion-raft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-16T19:12:09Z","updated_at":"2015-01-16T20:45:18Z","closed_at":null,"body":"When trying to install beaver on Ubuntu 12.04, I get the following error:\r\n\r\n```\r\nroot@dev:beaver# pip install beaver==33.0.0\r\nCollecting beaver==33.0.0\r\n  Downloading Beaver-33.0.0.tar.gz (67kB)\r\n    100% |################################| 69kB 12.6MB/s\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 20, in <module>\r\n      File \"/tmp/pip-build-KwMc_w/beaver/setup.py\", line 77, in <module>\r\n        install_requires=requirements,\r\n      File \"/usr/lib/python2.7/distutils/core.py\", line 152, in setup\r\n        dist.run_commands()\r\n      File \"/usr/lib/python2.7/distutils/dist.py\", line 953, in run_commands\r\n        self.run_command(cmd)\r\n      File \"/usr/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n        cmd_obj.run()\r\n      File \"<string>\", line 12, in replacement_run\r\n      File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 2310, in load\r\n        return self.resolve()\r\n      File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 2316, in resolve\r\n        module = __import__(self.module_name, fromlist=['__name__'], level=0)\r\n    ImportError: No module named version\r\n    Complete output from command python setup.py egg_info:\r\n    running egg_info\r\n\r\n    creating pip-egg-info/Beaver.egg-info\r\n\r\n    Traceback (most recent call last):\r\n\r\n      File \"<string>\", line 20, in <module>\r\n\r\n      File \"/tmp/pip-build-KwMc_w/beaver/setup.py\", line 77, in <module>\r\n\r\n        install_requires=requirements,\r\n\r\n      File \"/usr/lib/python2.7/distutils/core.py\", line 152, in setup\r\n\r\n        dist.run_commands()\r\n\r\n      File \"/usr/lib/python2.7/distutils/dist.py\", line 953, in run_commands\r\n\r\n        self.run_command(cmd)\r\n\r\n      File \"/usr/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n\r\n        cmd_obj.run()\r\n\r\n      File \"<string>\", line 12, in replacement_run\r\n\r\n      File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 2310, in load\r\n\r\n        return self.resolve()\r\n\r\n      File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 2316, in resolve\r\n\r\n        module = __import__(self.module_name, fromlist=['__name__'], level=0)\r\n\r\n    ImportError: No module named version\r\n\r\n    ----------------------------------------\r\n    Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-KwMc_w/beaver\r\nroot@dev:beaver# pip list\r\napparmor (2.7.102)\r\napt-xapian-index (0.44)\r\nchardet (2.0.1)\r\ncommand-not-found (0.2.44)\r\ndocutils (0.12)\r\nGnuPGInterface (0.3.2)\r\nhttplib2 (0.7.2)\r\nLandscape-Client (13.7.3)\r\nlockfile (0.10.2)\r\nPAM (0.4.2)\r\npip (6.0.6)\r\npycrypto (2.4.1)\r\npyOpenSSL (0.12)\r\npyserial (2.5)\r\npython-apt (0.8.3ubuntu7.2)\r\npython-daemon (2.0.3)\r\nredis (2.10.3)\r\nsetuptools (11.3.1)\r\nsimplejson (2.3.2)\r\nTwisted-Core (11.1.0)\r\nufw (0.31.1-1)\r\nvirtualenv (12.0.5)\r\n```"},"comment":{"url":"https://api.github.com/repos/josegonzalez/python-beaver/issues/comments/70319350","html_url":"https://github.com/josegonzalez/python-beaver/issues/286#issuecomment-70319350","issue_url":"https://api.github.com/repos/josegonzalez/python-beaver/issues/286","id":70319350,"user":{"login":"gfloyd","id":1295525,"avatar_url":"https://avatars.githubusercontent.com/u/1295525?v=3","gravatar_id":"","url":"https://api.github.com/users/gfloyd","html_url":"https://github.com/gfloyd","followers_url":"https://api.github.com/users/gfloyd/followers","following_url":"https://api.github.com/users/gfloyd/following{/other_user}","gists_url":"https://api.github.com/users/gfloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/gfloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfloyd/subscriptions","organizations_url":"https://api.github.com/users/gfloyd/orgs","repos_url":"https://api.github.com/users/gfloyd/repos","events_url":"https://api.github.com/users/gfloyd/events{/privacy}","received_events_url":"https://api.github.com/users/gfloyd/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T20:45:18Z","updated_at":"2015-01-16T20:45:18Z","body":"I had a number of other machines with beaver installed that had python-daemon 1.6.1 and were working fine (that's how I noticed the difference), so I just went with that. requirements.txt should probably be more strict, though!"}}