
Hello all! I am facing an issue with running my code using the arcpy module in python using ArcGIS Pro. After incrementally commenting lines I discovered that the error arises with the arcpy.analysis.Buffer command. I tried following this link: https://support.esri.com/en/technical-article/000002929 to solve my issue by assigning a different folder to the TEMP but it didn't work. I moved the code to a different device and it works just fine, the problem is only in 1 PC but I need to use this specific PC. Once I remove the line of code the rest of the code works fine. I also attached below the code I am using, I tried changing parameters value using other feature classes nothing works. But when I use the tool on ArcGIS it works just fine.
