Discussion:
[ansible-project] pyrax is required for this module
Mohamed Megdadi
2015-07-22 06:01:40 UTC
Permalink
Hello,

We are new at ansible, we are trying to run a playbook to connect ansible
with Rackspace cloud, each time we run it we have this error: "pyrax is
required for this module"

but when we try to import Pyrax via python, we get the following error,

"Traceback (most recent call last): File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/pyrax/__init__.py", line 50, in
<module> from .identity import * File
"/usr/lib/python2.7/dist-packages/pyrax/identity/rax_identity.py", line 8,
in <module> from ..base_identity import BaseIdentity File
"/usr/lib/python2.7/dist-packages/pyrax/base_identity.py", line 20, in
<module> from .resource import BaseResource File
"/usr/lib/python2.7/dist-packages/pyrax/resource.py", line 26, in <module>
import pyrax File
"/usr/lib/python2.7/dist-packages/pyrax/pyrax/__init__.py", line 50, in
<module> from .identity import * File
"/usr/lib/python2.7/dist-packages/pyrax/pyrax/identity/rax_identity.py",
line 10, in <module> from ..cloudnetworks import CloudNetworkClient File
"/usr/lib/python2.7/dist-packages/pyrax/pyrax/cloudnetworks.py", line 22,
in <module> from pyrax.resource import BaseResource ImportError: cannot
import name BaseResource"

Thanks,
Mohamed Megdadi
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/31d9a12d-152c-410d-8e4c-61c8809edc35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...