我正在尝试在我的 Ubuntu 14.04 机器上启动并运行 heat-client。我已按照以下说明进行操作:
但是当我输入 heat stack-list 进行测试时,我收到以下错误:
Traceback (most recent call last):
File "/usr/local/bin/heat", line 7, in <module>
from heatclient.shell import main
File "/usr/local/lib/python2.7/dist-packages/heatclient/shell.py", line 26, in <module>
from oslo.utils import encodeutils
ImportError: No module named utils
我尝试重新安装 python2.7-dev,重新安装设置实用程序,检查我的 ~/.profile 是否有:
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"