# accelerated mode error "python-keyczar must be installed"

**URL:** <https://forum.ansible.com/t/accelerated-mode-error-python-keyczar-must-be-installed/15131>\
**Category:** Ansible Project\
**Tags:** rhel\
**Created:** [May 1, 2014, 4:20pm UTC](https://forum.ansible.com/t/accelerated-mode-error-python-keyczar-must-be-installed/15131 "2014-05-01T16:20:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc.petrivelli](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/marc.petrivelli/32/3773_2.png) [@marc.petrivelli](https://forum.ansible.com/u/marc.petrivelli)\
**Post date:** [May 1, 2014, 4:20pm UTC](https://forum.ansible.com/t/accelerated-mode-error-python-keyczar-must-be-installed/15131/1 "2014-05-01T16:20:33Z")

</div>

I am trying to use accelerated mode for a play in my playbook and I get the following error: " python-keyczar must be installed on the control machine to use accelerated modes". Python-keyczar is certainly installed:

`

[root@zz01-ansible platform\_cm]# yum list installed | grep python-keyczar  
This system is receiving updates from Red Hat Subscription Management.  
python-keyczar.noarch 0.71c-1.el6 @epel

`

Both the control and managed machine are running RHEL 6.5. In addition I also verified -

`  
python-pyasn1.noarch 0.0.12a-1.el6 @rhel-6-server-rpms

python-crypto.x86\_64 2.0.1-22.el6 @rhel-6-server-rpms  
python-crypto2.6.x86\_64 2.6.1-1.el6 @epel

`

My ansible version is

`

[root@zz01-ansible platform\_cm]# ansible --version  
ansible 1.6 (devel 6069ff6e9e) last updated 2014/04/30 16:28:40 (GMT -400)

`

Any ideas?

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [May 1, 2014, 5:08pm UTC](https://forum.ansible.com/t/accelerated-mode-error-python-keyczar-must-be-installed/15131/2 "2014-05-01T17:08:08Z")

</div>

If you open a python shell and type the following, what do you get back?

from Crypto.pct\_warnings import PowmInsecureWarning

import keyczar.errors as key\_errors

from keyczar.keys import AesKey

I did notice yesterday that - depending on how pycrypto and keyczar were installed, the first line there may fail, but I thought it might only be related to my system since I was trying to reproduce an error.
