I'm trying to call on a custom python script within another script. The tool I'm creating takes 2 feature classes as inputs. I am calling on another custom tool that was downloaded in this script. If I run my script outside of ArcGIS, using predefined paths for the two feature classes, everything works fine. When I try to run my script as a tool using "arcpy.GetParameterAsText()" I get an error saying that the other script that I am referencing can't be found.
Here is the error I get:
Traceback (most recent call last):
File "C:\Users\jamil.harvich\Documents\ArcGIS\Python_Scripts\Working\IP_Anno\Script\Script_Part1.py", line 80, in <module>
arcpy.ConcatenateRowValues_IP(lyr + '_Intersect', 'SHORT_DESC', 'NAME', lyr, '-')
File "C:\Users\jamil.harvich\Documents\ArcGIS\Python_Scripts\Working\IP_Anno\IP_Labels.tbx", line 54, in ConcatenateRowValues
AttributeError: Object: Tool or environment <ConcatenateRowValues_IP> not found