# \[WARNING\]: No python interpreters found for host

**URL:** <https://forum.ansible.com/t/warning-no-python-interpreters-found-for-host/38711>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [March 8, 2024, 3:53pm UTC](https://forum.ansible.com/t/warning-no-python-interpreters-found-for-host/38711 "2024-03-08T15:53:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Bachmeyer](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Chris\_Bachmeyer](https://forum.ansible.com/u/Chris_Bachmeyer)\
**Post date:** [March 8, 2024, 3:53pm UTC](https://forum.ansible.com/t/warning-no-python-interpreters-found-for-host/38711/1 "2024-03-08T15:53:46Z")

</div>

Hey all,

I set up a deployment pipeline using GitHub actions and am experiencing an issue with Ansible seemingly not being able to find the python interpreter.

The step in the job is as follows. I set the interpreter\_python param and tried ‘auto’ as well as ‘/usr/bin/python3’ but to no avail. I have the collections\_path set too since this is a windows post config step.

- name: Windows configuration via Ansible  
uses: dawidd6/action-ansible-playbook@v2  
with:  
playbook: ansible/windows/site.yml

# directory: ansible/windows/

configuration: |  
[defaults]  
callbacks\_enabled = ansible.posix.profile\_tasks, stdout\_callback = yaml, interpreter\_python = /usr/bin/python3, collections\_path = ./collections/ansible\_collections/  
inventory: |  
[all]  
${{ steps.vmip.outputs.vmIp }}  
vault\_password: ${{secrets.VAULT\_PASSWORD}}  
options: |  
-vvv

The full traceback is:  
At line:4 char:1

- /usr/bin/python C:\Users\ansible\_svc\AppData\Local\Temp\ansible-tmp-1 …

- 

```auto

```

[WARNING]: No python interpreters found for host 10.188.218.55 (tried  
[‘/usr/bin/python’, ‘python3.7’, ‘python3.6’, ‘python3.5’, ‘python2.7’,  
‘python2.6’, ‘/usr/libexec/platform-python’, ‘/usr/bin/python3’, ‘python’])  
fatal: [10.188.218.55]: FAILED! =\> \*\*\*  
“ansible\_facts”: \*\*\*  
“discovered\_interpreter\_python”: “/usr/bin/python”
