# Using Ansible 2.15 and Python 3.9 with AWX 17.1.0 for Specific Playbooks

**URL:** <https://forum.ansible.com/t/using-ansible-2-15-and-python-3-9-with-awx-17-1-0-for-specific-playbooks/40099>\
**Category:** Get Help\
**Tags:** networktocode, awx\
**Created:** [February 6, 2025, 9:07am UTC](https://forum.ansible.com/t/using-ansible-2-15-and-python-3-9-with-awx-17-1-0-for-specific-playbooks/40099 "2025-02-06T09:07:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angelo\_Gagliardi](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/angelo_gagliardi/32/7505_2.png) [@Angelo\_Gagliardi](https://forum.ansible.com/u/Angelo_Gagliardi)\
**Post date:** [February 6, 2025, 9:07am UTC](https://forum.ansible.com/t/using-ansible-2-15-and-python-3-9-with-awx-17-1-0-for-specific-playbooks/40099/1 "2025-02-06T09:07:39Z")

</div>

**Using Ansible 2.15 and Python 3.9 with AWX 17.1.0 for Specific Playbooks**

Hi everyone! I’m using AWX version 17.1.0 with Ansible 2.9.18.

I need to run some playbooks that require Ansible 2.15, Python 3.9, `pynautobot` (2.5.0), and the `networktocode.nautobot` collection (5.7.0). However, most of the existing playbooks are not compatible with these newer versions.

I am aware of Execution Environments in Ansible Tower, but I’m not sure if they are available in AWX 17.1.0. Does anyone have suggestions on how to configure AWX to use different versions of Ansible and Python only for the Nautobot playbook I’m developing?

The problem is that out team upgraded the nautobot istance and now my playbook are getting this error:

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/3/3663719cc23b18eb1eb1d047849f56b8af43981f.png)

In another istance that i have ansible tower i successfully upgraded python and ansible version and now it’s working, but in my awx i have that problem, and i don’t know how to use another version of python and ansible without have impact to the other older playbooks

Thanks in advance !
