No module named ironic_lib
作者:互联网
[root@bogon ~]# /usr/bin/ironic-api
Traceback (most recent call last):
File "/usr/bin/ironic-api", line 6, in <module>
from ironic.cmd.api import main
File "/usr/lib/python2.7/site-packages/ironic/cmd/api.py", line 27, in <module>
from ironic.common import wsgi_service
File "/usr/lib/python2.7/site-packages/ironic/common/wsgi_service.py", line 17, in <module>
from ironic.api import app
File "/usr/lib/python2.7/site-packages/ironic/api/app.py", line 26, in <module>
from ironic.api import hooks
File "/usr/lib/python2.7/site-packages/ironic/api/hooks.py", line 27, in <module>
from ironic.conductor import rpcapi
File "/usr/lib/python2.7/site-packages/ironic/conductor/rpcapi.py", line 30, in <module>
from ironic.conductor import manager
File "/usr/lib/python2.7/site-packages/ironic/conductor/manager.py", line 52, in <module>
from ironic_lib import metrics_utils
ImportError: No module named ironic_lib
[root@bogon ~]# pip install ironic-lib
标签:named,lib,api,usr,ironic,import,line 来源: https://www.cnblogs.com/dream397/p/13042843.html