{"action":"created","issue":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/588","labels_url":"https://api.github.com/repos/balloob/home-assistant/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/588/comments","events_url":"https://api.github.com/repos/balloob/home-assistant/issues/588/events","html_url":"https://github.com/balloob/home-assistant/issues/588","id":115399244,"number":588,"title":"Vincenty version conflict","user":{"login":"MartinHjelmare","id":3181692,"avatar_url":"https://avatars.githubusercontent.com/u/3181692?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinHjelmare","html_url":"https://github.com/MartinHjelmare","followers_url":"https://api.github.com/users/MartinHjelmare/followers","following_url":"https://api.github.com/users/MartinHjelmare/following{/other_user}","gists_url":"https://api.github.com/users/MartinHjelmare/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinHjelmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinHjelmare/subscriptions","organizations_url":"https://api.github.com/users/MartinHjelmare/orgs","repos_url":"https://api.github.com/users/MartinHjelmare/repos","events_url":"https://api.github.com/users/MartinHjelmare/events{/privacy}","received_events_url":"https://api.github.com/users/MartinHjelmare/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-05T23:31:16Z","updated_at":"2015-11-08T02:25:55Z","closed_at":"2015-11-08T02:25:55Z","body":"Hi!\r\n\r\nFrom requirements.txt and requirements_all.txt:\r\nvincenty==0.1.3\r\n\r\nFrom setup.py:\r\n'vincenty==0.1.2'\r\n\r\nI get errors when running script/setup and hass. If I have vincenty version 0.1.2 installed and run script/setup I get the following error:\r\n\r\n```\r\nInstalling collected packages: vincenty, RFXtrx, pymysensors, python-wink, temperusb, pyedimax, pymodbus, python-verisure, python-sabnzbd, python-vera\r\n  Found existing installation: vincenty 0.1.2\r\n    Uninstalling vincenty-0.1.2:\r\n      Successfully uninstalled vincenty-0.1.2\r\n  Rolling back uninstall of vincenty\r\nException:\r\nTraceback (most recent call last):\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2702, in get_entry_map\r\n    ep_map = self._ep_map\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2673, in __getattr__\r\n    raise AttributeError(attr)\r\nAttributeError: _ep_map\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pip/basecommand.py\", line 211, in main\r\n    status = self.run(options, args)\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pip/commands/install.py\", line 311, in run\r\n    root=options.root_path,\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pip/req/req_set.py\", line 646, in install\r\n    **kwargs\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pip/req/req_install.py\", line 803, in install\r\n    self.move_wheel_files(self.source_dir, root=root)\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pip/req/req_install.py\", line 998, in move_wheel_files\r\n    isolated=self.isolated,\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pip/wheel.py\", line 242, in move_wheel_files\r\n    name, user=user, home=home, root=root, isolated=isolated\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pip/locations.py\", line 181, in distutils_scheme\r\n    d = Distribution(dist_args)\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/setuptools/dist.py\", line 269, in __init__\r\n    for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 729, in iter_entry_points\r\n    entries = dist.get_entry_map(group)\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2705, in get_entry_map\r\n    self._get_metadata('entry_points.txt'), self\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2448, in parse_map\r\n    for group, lines in data:\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 3046, in split_sections\r\n    for line in yield_lines(s):\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2303, in yield_lines\r\n    for ss in strs:\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2630, in _get_metadata\r\n    if self.has_metadata(name):\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 1626, in has_metadata\r\n    return self.egg_info and self._has(self._fn(self.egg_info, name))\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 1984, in _has\r\n    return zip_path in self.zipinfo or zip_path in self._index()\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 1864, in zipinfo\r\n    return self._zip_manifests.load(self.loader.archive)\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 1804, in load\r\n    mtime = os.stat(path).st_mtime\r\nFileNotFoundError: [Errno 2] No such file or directory: '/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/vincenty-0.1.2-py3.4.egg'\r\n\r\n```\r\n\r\nIf I then uninstall vincenty and reinstall version 0.1.3 and run hass, I get the following error:\r\n\r\n```\r\n(home-assistant)martin@martin-htpc:~/Dev/home-assistant$ pip3 install --upgrade vincenty\r\nCollecting vincenty\r\nInstalling collected packages: vincenty\r\nSuccessfully installed vincenty-0.1.3\r\n(home-assistant)martin@martin-htpc:~/Dev/home-assistant$ pip show vincenty\r\n---\r\nMetadata-Version: 2.0\r\nName: vincenty\r\nVersion: 0.1.3\r\nSummary: Calculate the geographical distance between 2 points with extreme accuracy.\r\nHome-page: https://github.com/maurycyp/vincenty\r\nAuthor: Maurycy Pietrzak\r\nAuthor-email: ['github.com@wayheavy.com']\r\nLicense: Unlicense\r\nLocation: /home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages\r\nRequires: \r\n(home-assistant)martin@martin-htpc:~/Dev/home-assistant$ hass\r\nTraceback (most recent call last):\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 658, in _build_master\r\n    ws.require(__requires__)\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 959, in require\r\n    needed = self.resolve(parse_requirements(requirements))\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 851, in resolve\r\n    raise VersionConflict(dist, req).with_context(dependent_req)\r\npkg_resources.ContextualVersionConflict: (vincenty 0.1.3 (/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages), Requirement.parse('vincenty==0.1.2'), {'homeassistant'})\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/martin/.virtualenvs/home-assistant/bin/hass\", line 5, in <module>\r\n    from pkg_resources import load_entry_point\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 3095, in <module>\r\n    @_call_aside\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 3081, in _call_aside\r\n    f(*args, **kwargs)\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 3108, in _initialize_master_working_set\r\n    working_set = WorkingSet._build_master()\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 660, in _build_master\r\n    return cls._build_from_requirements(__requires__)\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 673, in _build_from_requirements\r\n    dists = ws.resolve(reqs, Environment())\r\n  File \"/home/martin/.virtualenvs/home-assistant/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 846, in resolve\r\n    raise DistributionNotFound(req, requirers)\r\npkg_resources.DistributionNotFound: The 'vincenty==0.1.2' distribution was not found and is required by homeassistant\r\n```"},"comment":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/comments/154771096","html_url":"https://github.com/balloob/home-assistant/issues/588#issuecomment-154771096","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/588","id":154771096,"user":{"login":"MartinHjelmare","id":3181692,"avatar_url":"https://avatars.githubusercontent.com/u/3181692?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinHjelmare","html_url":"https://github.com/MartinHjelmare","followers_url":"https://api.github.com/users/MartinHjelmare/followers","following_url":"https://api.github.com/users/MartinHjelmare/following{/other_user}","gists_url":"https://api.github.com/users/MartinHjelmare/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinHjelmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinHjelmare/subscriptions","organizations_url":"https://api.github.com/users/MartinHjelmare/orgs","repos_url":"https://api.github.com/users/MartinHjelmare/repos","events_url":"https://api.github.com/users/MartinHjelmare/events{/privacy}","received_events_url":"https://api.github.com/users/MartinHjelmare/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T02:25:55Z","updated_at":"2015-11-08T02:25:55Z","body":"Nice!"}}