I need to encrypt a developed Python toolbox using EncryptPYT as follows:
import arcpy
toolbox = 'd:/tools/analysis.pyt'
password = '<your password>'
arcpy.EncryptPYT(toolbox, password)
I used ArcGIS python window, but it did not recognize "EncryptPYT". My ArcGIS version is 10.4.1
Solved! Go to Solution.
My python toolbox is pretty different:
Our friend Dan has moved on to ArcGIS Pro (he must have a faster laptop than me). Your screenshot is from ArcMap.
It appears from the help (ie no help doc for 10.4.1) that EncryptPYT is not supported in 10.4.1, you need to update to 10.5 or use Pro (or Pro's conda environment) if you want to use that that function.
make your life easier... right-click on the toolbox and...
My python toolbox is pretty different:
My python toolbox is pretty different:
Our friend Dan has moved on to ArcGIS Pro (he must have a faster laptop than me). Your screenshot is from ArcMap.
It appears from the help (ie no help doc for 10.4.1) that EncryptPYT is not supported in 10.4.1, you need to update to 10.5 or use Pro (or Pro's conda environment) if you want to use that that function.
Curtis .... https://www.microsoft.com/en-ca/store/d/surface-book/8txj08q9lxdt/04KS the 8 Gb Book is good enough for coding while watching tv and PRO runs nicely since I am a network of 1
If I encrypt a my toolbox using new version or Pro, Can I use that in older versions?
If you keep a copy of everything, you can test for yourself if you have multiple installations available. I would be less worried about moving backwards since PRO 2.0 is on the horizon and PRO 1.4.1 is less 'issue-full' than previous versions. If people can install 1.x... they can install the latest version, saving you the hassle. So I will say 'yes' ... but 'why bother'
I was unsuccessfully looking for details on that in the help -- but honestly I doubt it, it looks like new functionality. You could always try it.