ImportError:无法导入名称AUTH

时间:2014-05-09 13:50:10

标签: cloud

我在自定义位置从源安装了euca2ools.3.0.1 操作系统:RHEL 5.7

我使用“eucarc”来导入ecualytus cloud的设置。

Traceback (most recent call last):
File "euca2ools_3_0_2/bin/euca-register", line 5, in <module>
pkg_resources.run_script('euca2ools==3.0.1', 'euca-register')
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 528, in run_script
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1394, in run_script
File "euca2ools_3_0_2/lib/python2.7/site-packages/euca2ools-3.0.1-py2.7.egg/EGG-INFO    /scripts/euca-register", line 3, in <module>
import euca2ools.commands.euca.registerimage
File "euca2ools_3_0_2/lib/python2.7/site-packages/euca2ools-3.0.1-py2.7.egg/euca2ools    /commands/euca/__init__.py", line 31, in <module>
from requestbuilder import Arg, MutuallyExclusiveArgList, AUTH, SERVICE
ImportError: cannot import name AUTH

我能知道为什么我无法跑步吗?

1 个答案:

答案 0 :(得分:2)

看起来你想出了here。必须降级到requestbuilder 0.1.0。

sudo pip uninstall requestbuilder
sudo pip install requestbuilder==0.1.0