开发者社区> 问答> 正文

openstack安装nova控制端同步数据库出现这个报错,麻烦大佬给看看

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

展开
收起
游客semqslbgxw5mc 2023-03-14 17:18:00 301 0
1 条回答
写回答
取消 提交回答
  • 发表文章、提出问题、分享经验、结交志同道合的朋友

    这个报错看起来是缺少了ply模块,安装ply模块,我看你用的是python2,执行命令'pip install ply'。

    2023-03-14 17:58:17
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
2023云栖大会:MyBase云原生浪潮下的数据库上云新选择 立即下载
2022云栖大会:达摩院加持下的数据库技术前沿 立即下载
OpenStack Swift 海量小文件性能优化之路 立即下载