1

I have been trying to install ms_graph python module but had no luck till now, I have already tried the following command:

pip install microsoftgraph-python

python -m pip install msgraph-core

python -m pip install azure-identity

2 Answers 2

1

Could you please try python3 -m pip install msgraph-core

ref- https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad&tutorial-step=2

Thanks

Sign up to request clarification or add additional context in comments.

2 Comments

Microsoft is changing this stuff so fast that even their own docs (if you can find them!) are not up to date. Current (May 5, 2024) install command at this reference is python3 -m pip install msgraph-sdk
Installing msgraph-sdk sometimes gives issues due to the very long path name. In Windows 10 you'll need to enable long paths, like this learn.microsoft.com/en-us/windows/win32/fileio/…
1

try this:

pip install msgraph-sdk

1 Comment

I have run python3 -m pip install msgraph-sdk and still receive this error: ImportError: cannot import name 'GraphClient' from 'msgraph_core' ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.