By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,156 Members | 989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,156 IT Pros & Developers. It's quick & easy.

Question about py2exe and matplotlib

P: n/a
I am making a small program using boa constructor.
This program converts fine into an exe file using py2exe.
Then, I embedded a figure canvas from matplotlib in a wxpython panel.
I followed the instructions given by py2exe wiki about matplotlib and tried
to convert to an exe file.
It first said several modules were missing.
I realized that those were modules that matplotlib or Numeric will try to
and then provide the codes on Import Error.
So I just deleted from "try:" to "except Import Error" so that matplotlib or
will not try to import those libraries that are not installed.
Now py2exe is able to convert the program to an exe file.
But when I run it on Windows, it gives a runtime error.
Does anyone have any idea what I am doing wrong?
Thank you.

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.