Hello,
I am unable to publish my custom python tool as a geoprocessing service to my ArcGIS Server from ArcGIS Pro. I am using the 'Share As Web Tool' option, I have also tried using the 'Geoprocessing Package' option, but it fails in both the cases. I have attached a screenshot of the logs generated on ArcGIS Pro below.
I have restarted my services on the ArcGIS Server, updated ArcGIS Pro to the latest version, tried publishing the tool with and without a map and have also ensured that the file paths are short, but I am still unable to publish the tool.
![MariamJamilah_0-1634298807175.png MariamJamilah_0-1634298807175.png](https://community.esri.com/t5/image/serverpage/image-id/25279i789A0A32A99F6C30/image-size/large?v=v2&px=999)
Please advise, thanks!