Select to view content in your preferred language

Module unaccessible running python script through ArcToolbox

2511
2
08-06-2015 10:41 AM
MatthewBaker2
Deactivated User

All,

I've developed a python script that basically wraps around a SQL insert statement for an ETL process I run.

The script uses PYPYODBC and was written in Aptana Studio.

The script doesn't run anymore even though PYPYODBC is listed with I run pip list in both installations of python: in C:/python27 and c:/python27/ArcGIS_10.1, and of course it still runs in Aptana.

Because I can see PYPYODBC when I run pip list ​from the ArcGIS instance of Python, I would assume when I run the script from ArcToolbox it should have access to that module?

Not sure what I'm missing or what I did to break this....

Thanks!

0 Kudos
2 Replies
NickHetrick
Frequent Contributor

Do you have the 64bit background processing installed? I have had this interfere with pyodbc if the python path along with not having the 64bit odbc drivers installed

0 Kudos
MatthewBaker2
Deactivated User

I do not - but I didn't have it when the script was ​working before...

0 Kudos