Select to view content in your preferred language

Can msgraph-sdk and arcpy peacefully co-exist?

242
1
10-17-2025 11:16 AM
KirkKuykendall3
New Contributor

Hi Community -

Conda refused to install msgraph-sdk (Microsoft Graph) package into a cloned 3.5 environment.  The error message complained that I need python 3.11, which is what I'm running. (see below).

Pip also refused on first try, suggesting I set LongPathsEnabled to true in the registry.  After doing that conda still failed with same error, but pip installed successfully. 

Does anyone know of a good test script to run to make sure msgraph-sdk hasn't broken something arcpy-related and vice-versa?

I've read conda is better than pip at ensuring package compatibility, so I'm a bit leary.

Thanks, Kirk

KirkKuykendall3_0-1760724442543.png

 



Tags (2)
0 Kudos
1 Reply
williamgarret
New Contributor

hey dude, I have hit that before msgraph-sdk installs cleaner through pip than conda in older environments. After pip apk install, just run a quick import test for both arcpy and msgraph in Python to check conflicts. If both import without errors, you’re good to go. Conda sometimes lags behind on newer package builds.

0 Kudos