I've got a script that will execute fine if I run it in PyScripter.
However when I import the script into a toolbox in ArcCatalog it will not execute.
I'm a novice with Python and I'm confused about is causing the issue.
The script is using pyPDF2 library and I've checked the Python environments in both C:\Python27\ArcGIS10x64 and ArcGIS10.5 to confirm that pyPDF2 package is installed. It is.
PyScripter is using the 10x64 environment and I'm curious how to confirm which one ArcCatalog is using.
Help is appreciated.