I have an ArcGIS Pro Python script (please note it's version 3+ and to be precise shows as 3.66) and when I run the following command, I get an error.
The error is
module 'arcpy' has no attribute 'CreatePersonalGDB_management'
The script runs fine when ran under Python 2.7 environment but that's not we need.
Basically, my goal is to copy all Features etc from a File Geodatbase into a Personal Geodatabase and that works by simply copying/pasting inside ArcCatalog. So I am pretty sure my issue is because of the limitation is ArcGIS Pro (and it's version of Python) support for Personal Geodatabase.
So how I do resolve this error? The users will likely not have Python 2.7 in their systems--only will have ArcGIS Pro. I am thinking of including path to a blank Personal Geodatabase .mdb file and simply use something like:
But throws an error that file maybe locked--which doesn't make sense because ArcCatalog is not open.