Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Joe_Trouble
1 year agoNew member | Level 2
No module named 'dropbox.exceptions'; 'dropbox' is not a package
Using the example provided on github ''backup-and-restore-example.py". when trying to run it, it says No module named 'dropbox.exceptions'; 'dropbox' is not a package. it shows the same error with "from dropbox.files import WriteMode"
not virtual enviroment
py version: 3.11.5
1 Reply
Replies have been turned off for this discussion
- Greg-DB1 year ago
Dropbox Community Moderator
Do you have a file named "dropbox.py"? If so, Python would try to import that instead of the actual Dropbox package. In that case, rename or remove that file and try again.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!