5
這是在Ubuntu 16.04服務器上的stable/newton
上。OpenStack DevStack失敗:安裝keystoneauth1 2.12.2,然後要求2.16.0或更好
錯誤消息:
[email protected]:/opt/devstack$ pip list | ack keystoneauth1
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
keystoneauth1 (2.16.0)
[email protected]:/opt/devstack$
而經過:
[email protected]:/opt/devstack$ pip list | ack keystoneauth1
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
keystoneauth1 (2.12.2)
[email protected]:/opt/devstack$
我也確信刪除
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 859, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (keystoneauth1 2.12.2 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('keystoneauth1>=2.16.0'), set(['glance-store']))
+inc/python:pip_install:1 exit_trap
運行./stack.sh
,從/opt/devstack
爲用戶stack
之前點緩存rm -rf ~/.pip/cache
,但那裏d似乎不是這個用戶的一個。
如何解決版本衝突?