Using Python from Pro and from Desktop on the same machine

8057
11
Jump to solution
01-14-2015 06:40 AM
ModyBuchbinder
Esri Regular Contributor

Python
that comes with desktop is 2.7 while python that comes with pro is 3.4

They have some differences in basic syntax.

On my machine when you just run Python you gets the 3.4 version (can this be changes?).

When you try to execute desktop python programs (including ESRI tools) you get many errors.

Is there any solution to this?

Thanks

Mody

0 Kudos
11 Replies
JoshuaBixby
MVP Esteemed Contributor

You are only logged into AGOL when Pro is running or a script is running that uses Pro's ArcPy.  When you close out of Pro or the script terminates, you will be logged out.

If there is a security issue, or potential issue, it might be allowing Pro to automatically log you in because it means Pro is storing one's credentials.  That said, Pro encrypts the credentials it stores and there are bigger problems if your Windows or Active Directory profile has been compromised and someone else is using your profile or machine.

The only time I actively log out of AGOL from within Pro is when I am switching from AGOL to an internal portal for licensing.