Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

Issue with installation

Open sjd-lab opened this issue 3 years ago • 0 comments

Trying to install this package for last few hours. so this is to mention that it is not easy to get it up and running in the first place. secondly the hyphenated lengthy package name itself is painful. So the issue is, even after installing, the package is simply not recognized. pip freeze lists the package as

Office365-REST-Python-Client @ git+https://github.com/vgrem/Office365-REST-Python-Client.git@31080ae2a9c152dcc9d1b4ce04ff2547876eca79

the installation was successful Successfully installed Office365-REST-Python-Client-2.3.11

I am installing from git version after several failed attempts at installing using pip install Office365-REST-Python-Client.

but the import from office365.sharepoint.client_context import ClientContext

givess error office365 not found.

Some googling suggested to install office365 . but no luck. I see one more package named O365==2.0.18.1 in pip freeze.

So something like below would be great

pip install office365
import office365

using python3.9 in a wsl-ubuntu version

sjd-lab avatar Apr 27 '22 13:04 sjd-lab