We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Dennis S.36
10 years agoNew member | Level 2
py2exe
Hi. I'm trying to use python's py2exe to freeze an application that includes copying a file to dropbox via the API so I can run it from a machine that does not have dropbox installed. My python script itself works well within python. Then I create an exe file, but when I run it I get the following error:
NotImplementedError: resource_filename() only supported for .egg, not .zip
There is a Stack Overflow discussion about this here: http://stackoverflow.com/questions/2678180/how-does-dropbox-use-python-on-windows-and-os-x/2679695
I have tried what they suggested, but it doesn't work. I have hunted down a few rest.py files and changed them in various locations to no avail. From the age of the solution, I suspect maybe it doesn't work with Dropbox API v2? Is there anything you can suggest that I can try? Thanks.
2 Replies
Replies have been turned off for this discussion
- Rich10 years ago
Super User II
Moved to the API forum.
- Greg-DB10 years ago
Dropbox Community Moderator
HI Dennis. Thanks for posting, but unfortunately I don't have any expertise with py2exe, nor can we support it in general, since it's made by a third party.
Apologies I can't be of more help, but perhaps someone else in the forum has done this in their app and has some experience with this.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!