Python applications won’t run on OneDrive folders without moving them to a new folder in Onedrive every time.

Peng, Rich 0 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.

A Microsoft file hosting and synchronization service.
610 questions
0 comments No comments
{count} votes