pyrax is required for this module

46 views
Skip to first unread message

Mohamed Megdadi

unread,
Jul 22, 2015, 2:01:40 AM7/22/15
to Ansible Project
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
Reply all
Reply to author
Forward
0 new messages