Traceback (most recent call last): File "/usr/bin/nova-manage", line 6, in from nova.cmd.manage import main File "/usr/lib/python2.7/site-packages/nova/cmd/manage.py", line 73, in from nova.virt import ironic File "/usr/lib/python2.7/site-packages/nova/virt/ironic/init.py", line 16, in from nova.virt.ironic import driver File "/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 52, in from nova.virt import configdrive File "/usr/lib/python2.7/site-packages/nova/virt/configdrive.py", line 29, in import nova.privsep.fs File "/usr/lib/python2.7/site-packages/nova/privsep/init.py", line 18, in from oslo_privsep import capabilities File "/usr/lib/python2.7/site-packages/oslo_privsep/capabilities.py", line 110, in ffi = cffi.FFI() File "/usr/lib64/python2.7/site-packages/cffi/api.py", line 63, in init from . import cparser File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 7, in import pycparser File "/usr/lib/python2.7/site-packages/pycparser/init.py", line 14, in from .c_parser import CParser File "/usr/lib/python2.7/site-packages/pycparser/c_parser.py", line 11, in from ply import yacc ImportError: No module named ply
这个报错看起来是缺少了ply模块,安装ply模块,我看你用的是python2,执行命令'pip install ply'。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。