Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95743
| Path | csiph.com!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail |
|---|---|
| Return-Path | <skip.montanaro@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.024 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'resulting': 0.04; 'cc:addr :python-list': 0.09; 'python': 0.10; 'package,': 0.13; 'file,': 0.15; '__init__.py': 0.16; 'cc:name:python': 0.16; 'created.': 0.16; 'expanded': 0.18; 'skip': 0.18; 'skip:l 30': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'so.': 0.22; 'problem:': 0.22; 'file.': 0.22; 'import': 0.24; 'header:In- Reply-To:1': 0.24; 'install': 0.25; "i've": 0.25; 'installed': 0.26; 'packaging': 0.27; 'message-id:@mail.gmail.com': 0.27; 'this.': 0.28; 'interface': 0.29; 'skip:/ 40': 0.29; 'solution,': 0.29; 'tar': 0.29; "i'm": 0.30; 'everyone': 0.31; 'skip:. 10': 0.32; 'getting': 0.33; 'directory,': 0.33; 'right?': 0.33; 'case,': 0.34; 'file': 0.34; 'add': 0.34; 'info': 0.34; 'gets': 0.35; 'received:google.com': 0.35; 'installing': 0.35; 'machines': 0.35; "isn't": 0.35; 'step': 0.36; 'there': 0.36; 'created': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'there,': 0.37; 'link.': 0.37; 'missing': 0.37; 'skip:z 10': 0.38; 'stuff': 0.38; 'files': 0.38; 'copying': 0.38; "didn't": 0.39; 'build': 0.40; 'skip:u 10': 0.61; 'total': 0.62; 'our': 0.64; '(why': 0.84; 'isolated': 0.84; 'pip': 0.84; 'skip:/ 30': 0.84; 'snake': 0.84 |
| 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=D4k1h4eeQ68ugntjaPQg6powsb0Snj+vH7RTaVqd/PQ=; b=AQ90fbzVVLn0uXrXZrYQWuxmI6ESfVVQt0t45MraISLdsibDEGhh6IWzv2cPhJm/QK aqp6g9UHtPcUe0/jeNBErvRwOpxcaoAsUuosloo/bJA+eZAH2Xlg0RmGWitr/R4bQ2BZ XXai/8h6arH6MIYo6WU9mXfbjAsPC9szF6XUW8jXyffHLxEG5xWX899BVKM6cOH7pw8Z 0AS+OIE925skoc06Qv9NMMAyKRm/DwABhCGGQIpTD3sa7R/8wmBQSzPPdRH2tuy1+qH7 lpDnpTTXpDeN0jSexTYKckSPIEEwVVsBCJXe7i2v4qyvURlSEMst7LrGrtgx3jpOCF4y rDKw== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.132.169 with SMTP id o41mr15290344ioi.155.1440785253751; Fri, 28 Aug 2015 11:07:33 -0700 (PDT) |
| In-Reply-To | <201508281744.t7SHiEYG020807@fido.openend.se> |
| References | <CANc-5UxTDgoDisJ_d7i53LzLGTd+2Bm76okipTYR+3x-UC-hKg@mail.gmail.com> <201508281744.t7SHiEYG020807@fido.openend.se> |
| Date | Fri, 28 Aug 2015 13:07:33 -0500 |
| Subject | Re: Having no luck installing Twisted 15.3.0 |
| From | Skip Montanaro <skip.montanaro@gmail.com> |
| To | Laura Creighton <lac@openend.se> |
| Cc | Python <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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.114.1440785256.11709.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1440785256 news.xs4all.nl 23726 [2001:888:2000:d::a6]:56205 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:95743 |
Show key headers only | View raw
> I've seen this. > > You used pip to install zope.interface, right? > pip installed the thing someplace like: > /usr/local/lib/python2.7/dist-packages/zope > > You want to find it in /usr/share/pyshared/zope/interface/ > > Solution, make a link. Alas... I don't think so. The zope.interface stuff is getting installed in the proper location for our Python installation, however the necessary __init__.py file isn't being created. We have our own internal packaging system (why not? everyone else doesn, right?). This requires me to first install the package in an isolated location. In this case, I chose /var/tmp/python27_zope_interface-3.7.0. From there, we add an info file, then package up that directory as a gzip'd tar file. That tar files is ultimately what gets expanded on machines around the company. Unfortunately, you can see the problem: blade% cd /var/tmp/python27_zope_interface-3.7.0/ blade% ls -l lib/python2.7/site-packages/zope total 4 drwxrwxr-x 4 skipm snake 4096 Aug 28 12:56 interface What??? No __init__.py file, which is problematic considering I'm using Python 2.x. There is an __init__.py in .../zope/interface. There is also an __init__.py file in the build/lib.linux.../zope directory, so the build step created it. The install step just didn't copy it. After manually copying and compiling the missing file, then installing the resulting package, I am able to import twisted... Skip
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Having no luck installing Twisted 15.3.0 Skip Montanaro <skip.montanaro@gmail.com> - 2015-08-28 13:07 -0500
csiph-web