Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52997
| References | <63c24c62-014e-40db-bc05-4f202850636f@googlegroups.com> |
|---|---|
| Date | 2013-08-26 10:20 +0100 |
| Subject | Re: About executable |
| From | Fábio Santos <fabiosantosart@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.232.1377508813.19984.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On 25 Aug 2013 21:47, "Luis José Novoa" <luisjosenovoa@gmail.com> wrote: > > Hi All. I am trying to create an executable file containing an optimization code using the pyomo package for optimization modeling along with ither packages like Numpy. When using py2exe to perform the task it generates the executable file, but when I try to run it it reports: Import Error: No module named pyomo. > > Any guidance on how to solve this problem would be really appreciated. Have you checked py2exe's documentation? Bundling external modules with an exe ought to be a very, very, common task. If all else fails, you can try cx_freeze too. I think it generates windows executables too. Good luck!
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
About executable Luis José Novoa <luisjosenovoa@gmail.com> - 2013-08-25 13:44 -0700 Re: About executable Fábio Santos <fabiosantosart@gmail.com> - 2013-08-26 10:20 +0100
csiph-web