Quantcast
Channel: Question and Answer » arcpy
Viewing all articles
Browse latest Browse all 767

Pyscripter and arcpy not working together

$
0
0

I have installed pysripter on my machine and am not able to run any arcpy scripts from it despite being able to import arcpy. Models that work in model builder do not transition to pyscripter here is an example of an error I got

Traceback (most recent call last):
  File "S:Shared1 Survey OperationsData ManagementDatabasesDBDownloadsTestingftof.py", line 13, in <module>
    arcpy.ImportToolbox("Model Functions")
  File "C:Program Files (x86)ArcGISDesktop10.2arcpyarcpy__init__.py", line 124, in ImportToolbox
    return import_toolbox(input_file, module_name)
  File "C:Program Files (x86)ArcGISDesktop10.2arcpyarcpytoolbox_code.py", line 438, in import_toolbox
    toolbox = gp.createObject("Toolbox", tbxfile)
  File "C:Program Files (x86)ArcGISDesktop10.2arcpyarcpygeoprocessing_base.py", line 379, in createObject
    self._gp.CreateObject(*gp_fixargs(args, True)))
IOError: The toolbox file Model Functions was not found.

Viewing all articles
Browse latest Browse all 767

Trending Articles