No module named ironic_lib
Posted dream397
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
以上是关于No module named ironic_lib的主要内容,如果未能解决你的问题,请参考以下文章
笨办法学python:No module named NAME
pycharm出现no module named cv2怎么解决
No module named ‘neo4j.addressing’ & ModuleNotFoundError: No module named ‘pytz‘
python 3.x报错:No module named 'cookielib'或No module named 'urllib2'
ImportError: No module named cv2 或 ModuleNotFoundError: No module named 'cv2'