"Could not install python: no match found for 3.6.x" error when upgrading App Dynamics
search cancel

"Could not install python: no match found for 3.6.x" error when upgrading App Dynamics

book

Article ID: 298147

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction



Unable to start appd dashboard application if using AppDynamics Platform Monitoring for PCF to anything lower than v5.0.477.


Appd logs show the following:


 
2023-06-09T08:00:21.04-0500 [STG/0] OUT -----> Python Buildpack version 1.8.6
2023-06-09T08:00:21.04-0500 [STG/0] OUT        [31;1m**WARNING**[0m buildpack version changed from 1.7.47 to 1.8.6
2023-06-09T08:00:21.04-0500 [STG/0] OUT -----> Supplying Python
2023-06-09T08:00:21.04-0500 [STG/0] OUT        [31;1m**ERROR**[0m Could not install python: no match found for 3.6.x in [3.7.16 3.8.16 3.9.16 3.10.9 3.11.1]
2023-06-09T08:00:21.04-0500 [STG/0] ERR Failed to compile droplet: Failed to run all supply scripts: exit status 14
2023-06-09T08:00:21.05-0500 [STG/0] OUT Exit status 223
 

 

Background


Python Buildpack v1.8.6 is causing this issue. As part of the nature of this issue is that it failed to install Python as the apps that are pushed by the AppDynamic Tile release need a version of Python Buildpack that supports Python 3.6.x. The log snippet indicates that one of the existing Python Buildpacks (v1.8.6) does not support Python 3.6.x as Python 3.6.x is deprecated starting from Python Buildpack version v1.7.50.

Note: The above error can be caused if using a Python release equal to or higher than v1.7.50.

 

Workarounds

 
  • Install a Python Buildpack lower than v1.7.50 and delete anything higher if listed with cf buildpacks command. As a reference, v1.7.49 contains the latest Python 3.6.x update before the deprecation. You can download it from here.
  • Lock/unlock unwanted releases. Check this link for reference.


Environment

Product Version: 3.0

Resolution



The permanent fix to the error “Could not install python: no match found for 3.6.x” in AppDynamics Platform tile is to upgrade to v5.0.477 as this version will update Python runtime of the dashboard generator to 3.7.x.

However, if you try to download this product version from TanzuNet you might receive a 404 for this product
page . This is due to App Dynamics deprecating their AppDynamics Platform Monitoring for VMware Tanzu tile. AppD team requested that we remove access to the tile for everyone. Since this is a partner tile, you have the option to reach out to AppD team directly or email [email protected] to verify the access to the deprecated AppDynamics Platform Monitoring for VMware Tanzu tile is possible, and upgrade to the required version v5.0.477 for the permanent fix if allowed.

Reference: https://network.pivotal.io/products/p-appdynamics/info 


This is also mentioned here.

Screenshot 2023-06-19 at 13.52.54.png