Hi, Thank you very much for your answer, but it seems does not work: root@ubuntu:/var/cache/apt/archives# dpkg -i python-migrate_0.6-2_all.deb (Reading database ... 106108 files and directories currently installed.) Preparing to replace python-migrate 0.6-2 (using python-migrate_0.6-2_all.deb) ... Unpacking replacement python-migrate ... Setting up python-migrate (0.6-2) ... Processing triggers for man-db ... Processing triggers for python-support ... root@ubuntu:/var/cache/apt/archives# root@ubuntu:/home/robin/code# cd nova-2011.2/ root@ubuntu:/home/robin/code/nova-2011.2# root@ubuntu:/home/robin/code/nova-2011.2# python setup.py build WARNING: syntax errors in nova/virt/vmwareapi/vm_util.py : invalid syntax (vm_util.py, line 2) ERROR: Python module win32console not found ERROR: Python module pywintypes not found ERROR: Python module win32console not found ERROR: Python module utils not found ERROR: Python module boto_v6.ec2.connection not found WARNING: syntax errors in nova/virt/vmwareapi/fake.py : invalid syntax (fake.py, line 2) WARNING: syntax errors in nova/tests/vmwareapi/db_fakes.py : invalid syntax (db_fakes.py, line 2) ERROR: Python module boto_v6.ec2.instance not found WARNING: syntax errors in nova/virt/vmwareapi_conn.py : invalid syntax (vmwareapi_conn.py, line 2) WARNING: syntax errors in nova/tests/vmwareapi/stubs.py : invalid syntax (stubs.py, line 2) WARNING: syntax errors in nova/virt/vmwareapi/vim.py : invalid syntax (vim.py, line 2) WARNING: syntax errors in nova/virt/vmwareapi/vmops.py : invalid syntax (vmops.py, line 2) ERROR: Python module Cheetah.Template not found WARNING: syntax errors in plugins/xenserver/networking/etc/xensource/scripts/vif_rules.py : invali d syntax (vif_rules.py, line 55) ERROR: Python module XenAPIPlugin not found ERROR: Python module pluginlib_nova not found ERROR: Python module XenAPIPlugin not found ERROR: Python module pluginlib_nova not found ERROR: Python module xenstore not found ERROR: Python module utils not found WARNING: syntax errors in nova/virt/vmwareapi/io_util.py : invalid syntax (io_util.py, line 2) ERROR: Python module sphinx.setup_command not found ERROR: Python module babel.messages not found ERROR: Python module XenAPIPlugin not found ERROR: Python module pluginlib_nova not found /usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py:317: DeprecationWarning: the sha module is deprecated; use the hashlib module instead path = __import__(module).__file__ ........................
-----邮件原件----- 发件人: Soren Hansen [mailto:so...@linux2go.dk] 发送时间: 2011年5月5日 19:40 收件人: c02925 抄送: openstack@lists.launchpad.net 主题: Re: [Openstack] Nova build error(python setup.py build),How can I solve this problem? thanks! The version of python migrate you're using is much too old. I believe 0.6 is what we require. -- Soren Hansen | http://linux2go.dk/ Ubuntu Developer | http://www.ubuntu.com/ OpenStack Developer | http://www.openstack.org/ _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp