Try to manually uninstall it first: sudo pip uninstall python-heatclient Then launch devstack again. It will re-install the right version.
/ludovic -----Original Message----- From: Wanjing Xu (waxu) [mailto:w...@cisco.com] Sent: December-06-16 2:43 PM To: OpenStack Development Mailing List (not for usage questions) Subject: [openstack-dev] [devstack]VersionConflict exception during stack.sh Hi 2016-12-06 18:50:28.095 | +inc/python:setup_package:354 [m pip_install -e /opt/stack/horizon 2016-12-06 18:50:28.881 | +inc/python:pip_install:155 [m sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip2.7 install -c /opt/stack/requirements/upper-constraints.txt --upgrade -e /opt/stack/horizon 2016-12-06 18:50:29.930 | Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment 2016-12-06 18:50:29.931 | Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment 2016-12-06 18:50:30.276 | Obtaining file:///opt/stack/horizon 2016-12-06 18:50:33.097 | Exception: 2016-12-06 18:50:33.098 | Traceback (most recent call last): 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main 2016-12-06 18:50:33.098 | status = self.run(options, args) 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 335, in run 2016-12-06 18:50:33.098 | wb.build(autobuilding=True) 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build 2016-12-06 18:50:33.098 | self.requirement_set.prepare_files(self.finder) 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files 2016-12-06 18:50:33.098 | ignore_dependencies=self.ignore_dependencies)) 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 521, in _prepare_file 2016-12-06 18:50:33.098 | req_to_install.check_if_exists() 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 1036, in check_if_exists 2016-12-06 18:50:33.098 | self.req.name 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 558, in get_distribution 2016-12-06 18:50:33.098 | dist = get_provider(dist) 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 432, in get_provider 2016-12-06 18:50:33.098 | return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 968, in require 2016-12-06 18:50:33.098 | needed = self.resolve(parse_requirements(requirements)) 2016-12-06 18:50:33.098 | File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 859, in resolve 2016-12-06 18:50:33.098 | raise VersionConflict(dist, req).with_context(dependent_req) 2016-12-06 18:50:33.098 | ContextualVersionConflict: (python-heatclient 1.5.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('python-heatclient>=1.6.1'), set(['horizon'])) 2016-12-06 18:50:33.233 | +inc/python:pip_install:1 [m exit_trap 2016-12-06 18:50:33.240 | +./stack.sh:exit_trap:487 [m local r=2 2016-12-06 18:50:33.250 | ++./stack.sh:exit_trap:488 [m jobs -p 2016-12-06 18:50:33.260 | +./stack.sh:exit_trap:488 [m jobs= 2016-12-06 18:50:33.269 | +./stack.sh:exit_trap:491 [m [[ -n '' ]] 2016-12-06 18:50:33.278 | +./stack.sh:exit_trap:497 [m kill_spinner __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev