我的机器操作系统是Ubuntu 12.04我试图在一个OpenStack解决scheme中实现所有开发。 但./stack.sh
没有成功。 它看起来像一个包装问题的点子。 所以我手动安装了iso8601,用sudo apt-get install python-iso8601
和sudo pip install iso8601
。但问题依然存在。 这是一个简短的信息
/local/bin/pip install --build=/tmp/pip-build.plxx4 -e /opt/stack/oslo.messaging Obtaining file:///opt/stack/oslo.messaging Running setup.py egg_info for package from file:///opt/stack/oslo.messaging [pbr] Reusing existing SOURCES.txt Requirement already satisfied (use --upgrade to upgrade): oslo.config>=1.2.0 in /opt/stack/oslo.config (from oslo.messaging==1.3.0a9.15.g57ebe0d) Requirement already satisfied (use --upgrade to upgrade): stevedore>=0.14 in /usr/local/lib/python2.7/dist-packages (from oslo.messaging==1.3.0a9.15.g57ebe0d) Downloading/unpacking iso8601>=0.1.9 (from oslo.messaging==1.3.0a9.15.g57ebe0d) Could not find any downloads that satisfy the requirement iso8601>=0.1.9 (from oslo.messaging==1.3.0a9.15.g57ebe0d) Cleaning up... No distributions at all found for iso8601>=0.1.9 (from oslo.messaging==1.3.0a9.15.g57ebe0d) Storing complete log in /home/shisoft/.pip/pip.log + exit_trap + local r=1 ++ jobs -p + jobs= + [[ -n '' ]] + exit 1 shisoft@shisoft-HQStackA:~/devstack$ sudo pip install iso8601 Requirement already satisfied (use --upgrade to upgrade): iso8601 in /usr/lib/python2.7/dist-packages Cleaning up...
Ubuntu 12.04提供了python-iso8601
版本0.1.4
,而在pipy.org你可以find版本0.1.10
,它满足安装程序的要求。
另外,日志明确说你需要使用--upgrade
覆盖已安装的版本,所以你需要发出:
# pip install --upgrade 8601
之后,比较以下输出:
# dpkg -l python-iso8601
和:
# pip list | grep iso8601