Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63317
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ippolito.marco@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.04; 'contributor': 0.07; 'everybody,': 0.07; 'skip:" 60': 0.07; 'subject:file': 0.07; 'subject:skip:s 10': 0.07; 'pep': 0.09; 'psf': 0.10; 'python': 0.11; '2.2,': 0.16; 'errread,': 0.16; 'errwrite)': 0.16; 'marco': 0.16; 'stdout': 0.16; 'subject:python2.7': 0.16; 'url:license': 0.16; 'module': 0.19; 'trying': 0.19; 'subject:] ': 0.20; 'help.': 0.21; 'module,': 0.24; 'skip:" 30': 0.26; 'train': 0.26; 'subject:/': 0.26; '(c)': 0.29; 'raise': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'file:': 0.31; 'file': 0.32; 'compatible': 0.32; 'skip:m 30': 0.32; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'skip:_ 10': 0.34; 'received:google.com': 0.35; 'accessible': 0.36; 'licensed': 0.36; 'url:org': 0.36; 'should': 0.36; 'thank': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'skip:t 30': 0.61; 'details.': 0.61; 'information': 0.63; 'such': 0.63; 'more': 0.64; 'hints': 0.68; 'url:4': 0.69; 'skip:/ 30': 0.84; 'streams': 0.84; 'subject::': 0.85; 'agreement.': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1caN/YWXNIfuwCZ6aJVyvmocl0zSNudTXTYXXLaiUMc=; b=g8znGs3QY0PtbtyNxgTjLA9yCGCgdihGmdPtAKEB/u7FZ+WME6BolB/ByaLYZURw4O ym+f0Qi9vLEa3aITjL1Vof6xAZU66qPoPDu11LQ2/Si6ZBxu7SdVXDYCo+gMvuYWdMzx EXzbiF/laRdHlHFcLq+6qLAXClszOLKWyzkOUFkHPz4ipOv+hU4J3YlXr7f6TUJGU/Pf Rspi+cyaUjCXYOjV+oCRbX5TTBN1ECBwBxhcgdlUxqK9hNz9y/iVWGIZPDxlnZC8E7Hh Zol5BQKjoO+S8TtYo8R3R7xx9L8mJDljr7hT8ydHquO5Uvt03WbdHHV9vtVL0nh+zhFh zQ6A== |
| MIME-Version | 1.0 |
| X-Received | by 10.112.128.194 with SMTP id nq2mr651421lbb.84.1389028827246; Mon, 06 Jan 2014 09:20:27 -0800 (PST) |
| Date | Mon, 6 Jan 2014 18:20:27 +0100 |
| Subject | /usr/lib/python2.7/subprocess.py:OSError: [Errno 2] No such file or directory |
| From | Marco Ippolito <ippolito.marco@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Mailman-Approved-At | Mon, 06 Jan 2014 19:53:15 +0100 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5039.1389034396.18130.python-list@python.org> (permalink) |
| Lines | 45 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1389034397 news.xs4all.nl 2925 [2001:888:2000:d::a6]:45514 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:63317 |
Show key headers only | View raw
Hi everybody,
I'm trying to use MEGAM with NLTK.
running the file:
[Found /home/ubuntu/nltk_data/megam_i686.opt:
/home/ubuntu/nltk_data/megam_i686.opt]
Traceback (most recent call last):
File "classifying.py", line 494, in <module>
me_classifier = MaxentClassifier.train(train_feats, algorithm='megam')
File "/usr/local/lib/python2.7/dist-packages/nltk/classify/maxent.py",
line 319, in train
gaussian_prior_sigma, **cutoffs)
File "/usr/local/lib/python2.7/dist-packages/nltk/classify/maxent.py",
line 1522, in train_maxent_classifier_with_megam
stdout = call_megam(options)
File "/usr/local/lib/python2.7/dist-packages/nltk/classify/megam.py",
line 167, in call_megam
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, ininit
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
subprocess.py exists:
# subprocess - Subprocesses with accessible I/O streams
#
# For more information about this module, see PEP 324.
#
# This module should remain compatible with Python 2.2, see PEP 291.
#
# Copyright (c) 2003-2005 by Peter Astrand <astrand@lysator.liu.se>
#
# Licensed to PSF under a Contributor Agreement.
# See http://www.python.org/2.4/license for licensing details.
r"""subprocess - Subprocesses with accessible I/O streams
Any hints or suggestions?
Thank you very much for your help.
Marco
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
/usr/lib/python2.7/subprocess.py:OSError: [Errno 2] No such file or directory Marco Ippolito <ippolito.marco@gmail.com> - 2014-01-06 18:20 +0100
csiph-web