The problem is that arcGISArcGIS Pro does not handle activate <environment name>
in conda the way that it normally operates. I used proswap <environment name>
and this corrected the problem, as it allows for the use of the corrected python environment. See the solution at herePython Command Prompt not changing environments correctly