# Getting jsondiff is not installed error even though jsondiff is installed

**URL:** <https://forum.ansible.com/t/getting-jsondiff-is-not-installed-error-even-though-jsondiff-is-installed/36278>\
**Category:** Ansible Project\
**Tags:** ubuntu, galaxy-ng\
**Created:** [February 2, 2022, 5:09pm UTC](https://forum.ansible.com/t/getting-jsondiff-is-not-installed-error-even-though-jsondiff-is-installed/36278 "2022-02-02T17:09:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Plichta](https://avatars.discourse-cdn.com/v4/letter/n/898d66/32.png) [@Nick\_Plichta](https://forum.ansible.com/u/Nick_Plichta)\
**Post date:** [February 2, 2022, 5:09pm UTC](https://forum.ansible.com/t/getting-jsondiff-is-not-installed-error-even-though-jsondiff-is-installed/36278/1 "2022-02-02T17:09:53Z")

</div>

Getting fatal: [192.168.0.51]: FAILED! =\> {“changed”: false, “msg”: “jsondiff is not installed, try ‘pip install jsondiff’”} error on fresh ansible install on ubuntu 20.04 via apt. Additionally I installed python3-jsondiff and community.docker from ansible-galaxy. All I’m trying to do is destroy a docker stack using ansible-playbook. My yml looks like this

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [February 2, 2022, 6:01pm UTC](https://forum.ansible.com/t/getting-jsondiff-is-not-installed-error-even-though-jsondiff-is-installed/36278/2 "2022-02-02T18:01:12Z")

</div>

> Getting fatal: [192.168.0.51]: FAILED! =\> {"changed": false, "msg": "jsondiff is not installed, try 'pip install jsondiff'"} error on fresh ansible install on ubuntu 20.04 via apt. Additionally I installed python3-jsondiff and community.docker from ansible-galaxy. All I’m trying to do is destroy a docker stack using ansible-playbook. My yml looks like this

Did you install jsondiff on the target host?  
Did you tell Ansible to use Python 3 on the target host (ansible\_python\_interpreter: /usr/bin/python3) ?

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke
