Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #27869
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <vs@it.uu.se> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; '(python': 0.05; 'error:': 0.05; 'exit': 0.07; '#error': 0.09; '(same': 0.09; 'broken.': 0.09; 'exited': 0.09; 'failure.': 0.09; 'skip:c 80': 0.09; 'subject:module': 0.09; 'subject:yappi': 0.09; 'unsigned': 0.09; 'url:googlecode': 0.09; 'url:yappi': 0.09; '2.7': 0.13; 'files.': 0.13; 'vista': 0.13; ':-)': 0.13; 'url:)': 0.13; 'cases': 0.15; "'gcc'": 0.16; '--v': 0.16; '8-bit': 0.16; 'compilers': 0.16; 'easy_install': 0.16; 'experiments': 0.16; 'match:': 0.16; 'pypi.': 0.16; 'subject:Installation': 0.16; 'subject:timing': 0.16; 'time.h:': 0.16; 'url:gz': 0.16; 'url:tar': 0.16; 'wchar.h:': 0.16; 'wrote:': 0.17; 'char': 0.17; 'windows': 0.19; 'module': 0.19; 'define': 0.20; 'suggested': 0.20; 'assumes': 0.22; 'gcc': 0.22; 'skip:c 70': 0.22; 'defined': 0.22; 'installation': 0.23; 'errors': 0.23; 'statement': 0.23; 'installed': 0.23; 'header': 0.24; 'command': 0.24; 'script': 0.24; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'charset:iso-8859-15': 0.26; 'appreciated.': 0.26; '(as': 0.27; 'c++': 0.27; 'url:code': 0.29; 'included': 0.29; 'source': 0.29; 'install': 0.29; 'folder': 0.30; 'code': 0.31; 'url:python': 0.32; 'file': 0.32; 'running': 0.32; 'ordered': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'path': 0.35; 'doing': 0.35; 'similar': 0.35; 'url:org': 0.36; 'modules': 0.36; 'test': 0.36; 'should': 0.36; 'problems': 0.36; 'subject: (': 0.36; 'unable': 0.36; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'first': 0.61; 'received:62': 0.62; 'url:p': 0.63; 'different': 0.63; 'here': 0.65; 'mingw': 0.84; 'segments.': 0.84; 'successful.': 0.93 |
| X-SENDER-IP | [213.112.50.224] |
| X-LISTENER | [smtp.bredband.net] |
| X-IronPort-Anti-Spam-Filtered | true |
| X-IronPort-Anti-Spam-Result | AroeAHWyOFDVcDLgPGdsb2JhbAANOLsDAQEBATeCVAEBAQEDOEARCxgJFg8JAwIBAgExBgENEwgBAYgUpyeTVIsIhxEDlmmRZg |
| X-IronPort-AV | E=Sophos;i="4.77,825,1336341600"; d="scan'208";a="396750279" |
| Date | Sat, 25 Aug 2012 13:12:12 +0200 |
| From | Virgil Stokes <vs@it.uu.se> |
| User-Agent | Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20120821 Thunderbird/15.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Installation of yappi (timing module) |
| References | <50375758.5060800@it.uu.se> |
| In-Reply-To | <50375758.5060800@it.uu.se> |
| Content-Type | text/plain; charset=ISO-8859-15; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.3801.1345894493.4697.python-list@python.org> (permalink) |
| Lines | 91 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1345894493 news.xs4all.nl 6947 [2001:888:2000:d::a6]:57982 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:27869 |
Show key headers only | View raw
On 24-Aug-2012 12:28, Virgil Stokes wrote: > I have been doing some experiments with different modules for the timing of > functions and code segments. One module I would like to test is yappi (thread > aware timer) which is listed at PyPI. However, I have been unable to install > it on Windows Vista and Windows 7 (Python 2.7 on both). I have tried both > easy_install and pip (as suggested at http://code.google.com/p/yappi/). Here > is what happens with easy_install > > C:\Users\Virgil>easy_install yappi > Searching for yappi > Reading http://pypi.python.org/simple/yappi/ > Reading http://yappi.googlecode.com/ > Best match: yappi 0.62 > Downloading http://yappi.googlecode.com//files/yappi-0.62.tar.gz > Processing yappi-0.62.tar.gz > Writing > c:\users\virgil\appdata\local\temp\easy_install-tzt5gl\yappi-0.62\setup.cfg > Running yappi-0.62\setup.py -q bdist_egg --dist-dir > c:\users\virgil\appdata\local\temp\easy_install-tzt5gl\yappi-0.62\egg-dist-tmp-t3qodo > In file included from D:\python27\include\Python.h:8, > from config.h:4, > from _yappi.c:10: > D:\python27\include\pyconfig.h:68: io.h: No such file or directory > D:\python27\include\pyconfig.h:296: stdio.h: No such file or directory > In file included from config.h:4, > from _yappi.c:10: > D:\python27\include\Python.h:19: limits.h: No such file or directory > D:\python27\include\Python.h:22: #error "Something's broken. UCHAR_MAX should > be defined in limits.h." > D:\python27\include\Python.h:26: #error "Python's source code assumes C's > unsigned char is an 8-bit type." > D:\python27\include\Python.h:33: stdio.h: No such file or directory > D:\python27\include\Python.h:35: #error "Python.h requires that stdio.h define > NULL." > D:\python27\include\Python.h:38: string.h: No such file or directory > D:\python27\include\Python.h:40: errno.h: No such file or directory > D:\python27\include\Python.h:42: stdlib.h: No such file or directory > D:\python27\include\Python.h:49: stddef.h: No such file or directory > D:\python27\include\Python.h:56: assert.h: No such file or directory > In file included from D:\python27\include\Python.h:58, > from config.h:4, > from _yappi.c:10: > D:\python27\include\pyport.h:306: stdlib.h: No such file or directory > D:\python27\include\pyport.h:312: math.h: No such file or directory > D:\python27\include\pyport.h:325: time.h: No such file or directory > D:\python27\include\pyport.h:377: sys\stat.h: No such file or directory > In file included from D:\python27\include\Python.h:85, > from config.h:4, > from _yappi.c:10: > D:\python27\include\unicodeobject.h:4: stdarg.h: No such file or directory > D:\python27\include\unicodeobject.h:57: ctype.h: No such file or directory > D:\python27\include\unicodeobject.h:120: wchar.h: No such file or directory > In file included from D:\python27\include\Python.h:94, > from config.h:4, > from _yappi.c:10: > D:\python27\include\stringobject.h:10: stdarg.h: No such file or directory > In file included from D:\python27\include\Python.h:98, > from config.h:4, > from _yappi.c:10: > D:\python27\include\bytearrayobject.h:9: stdarg.h: No such file or directory > In file included from D:\python27\include\Python.h:121, > from config.h:4, > from _yappi.c:10: > D:\python27\include\pyerrors.h:319: stdarg.h: No such file or directory > In file included from D:\python27\include\Python.h:126, > from config.h:4, > from _yappi.c:10: > D:\python27\include\modsupport.h:10: stdarg.h: No such file or directory > In file included from _yappi.c:10: > config.h:15: stdint.h: No such file or directory > In file included from _yappi.c:23: > timing.h:8: windows.h: No such file or directory > error: Setup script exited with error: command 'gcc' failed with exit status 1 > > And pip fails with similar problems (same pyconfig errors where C++ header > files are not found). In both cases yappi-0.62.tar.gz was downloaded.Note: 1) > I also tried to install from the source which also failed with similar > problems, 2) I have both cygwin and MinGW gcc compilers on my systems and they > do contain in their include folder these "missing" header files. > > Any suggestions on how yappi can be installed would be appreciated. > > --V :-) > > > Problem solved! The ordering of the gcc compilers in my PATH statement caused this failure. I have ordered these compilers such that the first one contains the required header files and the installation of yappi is now successful. --V
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Installation of yappi (timing module) Virgil Stokes <vs@it.uu.se> - 2012-08-25 13:12 +0200
csiph-web