我已经在自定义位置从源代码安装了euca2ools.3.0.1
作业系统:RHEL 5.7

我已经获得了“eucarc”,用于导入ecualytus云设置。

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

我能知道为什么我不能跑步吗?

最佳答案

好像您知道了here。必须降级到requestbuilder 0.1.0。

sudo pip uninstall requestbuilder
sudo pip install requestbuilder==0.1.0

关于cloud - ImportError:无法导入名称AUTH,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/23566324/

10-10 10:11