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 “”, line 1, in File “/usr/lib/python2.7/dist-packages/pyrax/init.py”, line 50, in from .identity import * File “/usr/lib/python2.7/dist-packages/pyrax/identity/rax_identity.py”, line 8, in from …base_identity import BaseIdentity File “/usr/lib/python2.7/dist-packages/pyrax/base_identity.py”, line 20, in from .resource import BaseResource File “/usr/lib/python2.7/dist-packages/pyrax/resource.py”, line 26, in import pyrax File “/usr/lib/python2.7/dist-packages/pyrax/pyrax/init.py”, line 50, in from .identity import * File “/usr/lib/python2.7/dist-packages/pyrax/pyrax/identity/rax_identity.py”, line 10, in from …cloudnetworks import CloudNetworkClient File “/usr/lib/python2.7/dist-packages/pyrax/pyrax/cloudnetworks.py”, line 22, in from pyrax.resource import BaseResource ImportError: cannot import name BaseResource”
Thanks,
Mohamed Megdadi