Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52997
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fabiosantosart@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.023 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'error:': 0.07; 'executable': 0.09; 'cc:addr:python-list': 0.11; 'windows': 0.15; 'exe': 0.16; 'jos\xe9': 0.16; 'luck!': 0.16; 'ought': 0.16; 'task.': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'module': 0.19; 'trying': 0.19; 'file,': 0.19; 'import': 0.22; 'aug': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'task': 0.26; 'header:In-Reply-To:1': 0.27; 'appreciated.': 0.29; 'external': 0.29; 'message-id:@mail.gmail.com': 0.30; 'along': 0.30; 'code': 0.31; 'too.': 0.31; 'subject:About': 0.31; 'file': 0.32; 'checked': 0.32; 'run': 0.32; 'problem': 0.35; 'common': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'guidance': 0.39; 'how': 0.40; 'solve': 0.60; 'modeling': 0.65; 'to:addr:gmail.com': 0.65; 'containing': 0.69; 'to:charset:iso-8859-1': 0.74; 'bundling': 0.84; 'fails,': 0.84; 'reports:': 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=s1PKFmUv2duptchcU1CiPwgDjqzBLw1jy3B8yx/F2ek=; b=tm9StlL6aNMm5Ed6EACg09bkhc2mD6OzH2scs4fJQrb7p1vugm5jBjVD+Y4gtbdBjQ Vp0WVvv121p3jvX131f8bgevrvvntdVMCEGIa8dPqj0zHTv251MevBJibqh7beHZng7I but3AoOvxW01cgklBhxdWXQd5cee+PfV+BWLAShjsSa4nOmtVovyZd1vD4Jsea0FtEiz 2g5mc4+liVVqh9Yl0imoV2po2CwGT1XMkEQjahHZavuhwqFN0UKIPdYdK22Xju2ohUCH jK3Xp7IlqlWcqXsRYzJ2EZSzgZJptJb953NfKHhCr0hkzHd3W5ffCP9YfzwqkDr8RaP0 TzFg== |
| MIME-Version | 1.0 |
| X-Received | by 10.49.47.113 with SMTP id c17mr49273qen.90.1377508805024; Mon, 26 Aug 2013 02:20:05 -0700 (PDT) |
| In-Reply-To | <63c24c62-014e-40db-bc05-4f202850636f@googlegroups.com> |
| References | <63c24c62-014e-40db-bc05-4f202850636f@googlegroups.com> |
| Date | Mon, 26 Aug 2013 10:20:04 +0100 |
| Subject | Re: About executable |
| From | Fábio Santos <fabiosantosart@gmail.com> |
| To | Luis José Novoa <luisjosenovoa@gmail.com> |
| Content-Type | multipart/alternative; boundary=047d7b33d188ffa34604e4d642df |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.232.1377508813.19984.python-list@python.org> (permalink) |
| Lines | 45 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1377508813 news.xs4all.nl 15869 [2001:888:2000:d::a6]:42630 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:52997 |
Show key headers only | View raw
[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