# ansible error on SLES 12

**URL:** <https://forum.ansible.com/t/ansible-error-on-sles-12/25763>\
**Category:** Ansible Project\
**Created:** [October 17, 2017, 5:01pm UTC](https://forum.ansible.com/t/ansible-error-on-sles-12/25763 "2017-10-17T17:01:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![madhan0618](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@madhan0618](https://forum.ansible.com/u/madhan0618)\
**Post date:** [October 17, 2017, 5:01pm UTC](https://forum.ansible.com/t/ansible-error-on-sles-12/25763/1 "2017-10-17T17:01:57Z")

</div>

Followed the below steps to install ansible

wget [https://bootstrap.pypa.io/get-pip.py](https://bootstrap.pypa.io/get-pip.py)

python get-pip.py

#To resolve python.sh

zypper in python-devel

zypper in libopenssl-devel

pip install ansible

pip install paramiko PyYAML Jinja2 httplib2 six

Now when i run ansible like below

ansible \*\*\*\*\* -i inventory -u user -a ‘cat /etc/cron.daily/btrfs-balance’ -k --ask-become-pass --become-method=sudo --become-user=root -c paramiko

i get the below error. I get the same error when i run my play book as well.

from\_buffer() cannot return the address of the raw string within a str or unicode or bytearray object  
",
