Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52985 > unrolled thread
| Started by | Luis José Novoa <luisjosenovoa@gmail.com> |
|---|---|
| First post | 2013-08-25 13:44 -0700 |
| Last post | 2013-08-26 10:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | Luis José Novoa <luisjosenovoa@gmail.com> |
|---|---|
| Date | 2013-08-25 13:44 -0700 |
| Subject | About executable |
| Message-ID | <63c24c62-014e-40db-bc05-4f202850636f@googlegroups.com> |
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.
[toc] | [next] | [standalone]
| From | Fábio Santos <fabiosantosart@gmail.com> |
|---|---|
| Date | 2013-08-26 10:20 +0100 |
| Message-ID | <mailman.232.1377508813.19984.python-list@python.org> |
| In reply to | #52985 |
[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!
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web