Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.051 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'twisted,': 0.07; 'importerror': 0.09; '*always*': 0.16; 'complains': 0.16; 'sys.path': 0.16; 'twisted': 0.16; 'wrote:': 0.16; 'skip': 0.18; '2015': 0.20; 'aug': 0.20; 'mind.': 0.22; 'tried': 0.24; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'appear': 0.26; 'installed': 0.26; 'fri,': 0.27; 'message- id:@mail.gmail.com': 0.27; "can't": 0.32; 'older': 0.32; 'file': 0.34; 'received:google.com': 0.35; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'list.': 0.37; 'front': 0.38; 'skip:z 10': 0.38; 'version': 0.38; 'delete': 0.38; 'stuff': 0.38; 'anything': 0.38; 'to:addr:python.org': 0.40; 'still': 0.40; 'latest': 0.64; 'our': 0.64; 'old,': 0.83; 'to:name:python': 0.84; 'absolutely': 0.88; 'old.': 0.95 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 :content-type; bh=aH+NghhNAewwi/8mbjspGJ8Mw3PDEv25MVV1DxDVs+g=; b=L4oqzJe99MNOKzo8ZOoNGPAUWbCv6f1yFZN9/IJDTHU3bZBLGfhBoLZmQwKb3oT5t3 gJZaAZuxkbJ30sKI6bwuszsqWSNjH2kfoy8HUVBBo9HuKfXo+J4n3jqK0DEkaP0jNN3Y KQtBDjOgQf/au2av7cnoyVmTuiqexi4WRRBbmys74iRpOF4AhLYkJrCVj7n64+Ok4GcT ZZrYxBkJXA77vYdjmluuezJ7mZjYokkR9t3vvaQIRs2IKFdNGJaQfNAOyzAKnkUeeTo+ 8HnKwz+AGmCt62SiORo9EAQJZmnU3UUcbeZvXnANxhgDBdAYCyhKcz7mDQcjsxOcHRcx C5OA== MIME-Version: 1.0 X-Received: by 10.50.131.170 with SMTP id on10mr4427974igb.6.1440781823464; Fri, 28 Aug 2015 10:10:23 -0700 (PDT) In-Reply-To: References: Date: Fri, 28 Aug 2015 12:10:23 -0500 Subject: Re: Having no luck installing Twisted 15.3.0 From: Skip Montanaro To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1440782295 news.xs4all.nl 23763 [2001:888:2000:d::a6]:47015 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95740 On Fri, Aug 28, 2015 at 12:01 PM, Skip Montanaro wrote: > One of our users needs Twisted. I built and installed 15.3.0. When I > tried to import it, it complained: > > ImportError Twisted requires zope.interface 3.6.0 or later. > > So I downloaded, built and installed the latest version of > zope.interface (4.1.2). Still it complains. So I tried 3.7.0. Same > old, same old. The I installed precisely 3.6.0. Still it complains > that I need 3.6.0. Looking at the INSTALL file for Twisted, I can't > see anything else which would be absolutely required to import it. *sigh* never mind. It's TWW's fault. They install an older version of zope.interface (3.3.0), then smash sys.path together in such a way that their packages *always* appear toward the front of the list. The only way to "override" their stuff is to delete it or move it out of the way. Skip