I updated to 2.4 a couple weeks ago and yesterday I went to use the python window and I kept getting errors. Then I go to the Python Package Manager and find that my cloned environment is 'broken' and now after deleting that bad environment I can't clone my default environment. It fails every time, even if I change the install location. Anyone having this issue? I know it has been a problem with previous updates as well. Personally, I am so sick of troubleshooting python environments and trying to get Spyder to actually run code. I deal with this every time I try and do some automation. It's getting ridiculous.
Solved! Go to Solution.
After updating to 2.5, my 2.4.3 clone is still there, but ArcGIS Pro doesn't recognize it....
Was Pro updated to 2.5 automatically outside of your control before you could test whether the upgrade breaks your cloned python environment?
My experience so far with updates is that you can still run all your cloned installations using an editor (e.g. Spyder) but ArcGIS Pro does not recognize your clone anymore (the red octagon with exclamation point). So essentially I am using the "old" version of Arcpro when scripting/programming. It's just a pain in the neck to delete the old clone, create a new clone, and install all the packages you want every time there is an update.
I am also having this issue in 2.6, and had the same issue as OP. Seems to be that you have to re-create the clone every time you update.
Jo Belanger; You will need to re-clone at every release update. I don't think you need to for the incremental updates like 2.6 to 2.6.1. Personally I typically wait for a full version release before I upgrade but that's just me. There are a few threads about the 2.6 upgrade and cloning problems such as this one of mine. Not sure what the problem was but it took a few tries to get the clone straightened out.
Clones are worthless after a 2.4 -> 2.6 upgrade.
You just need to copy _arcgisscripting.pyd from site packages in the new default environment to your broken cloned environment.
this did not work. .. (when I tried this approach to fix the broken cloned envs - pro 2.9 to 3.1 though)
error said dll not found