
Python applications won’t run on OneDrive folders without moving them to a new folder in Onedrive every time.
Peng, Rich
15
Reputation points
I have a user using Python 3.10.13 that started having issue running Python applications in Onedrive couple of days ago.
The same file will show this error “ModuleNotFoundError: No module named 'snowflake.connector'; 'snowflake' is not a package“ and if they copy it to a different new folder within OneDrive it will run just fine.
Currently, the copying of files to a new folder is the painful workaround. We have checked file path lengths, disabled file on-demand, and checked the Python Path environmental variables.
Microsoft 365 and Office | OneDrive | For business | Windows

2,609 questions
Sign in to answer