Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'syntax': 0.04; 'exception,': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'python': 0.11; 'bug': 0.12; 'language.': 0.14; 'pip?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:windows': 0.16; 'syntaxerror:': 0.16; 'so.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'bit': 0.19; 'trying': 0.19; 'thoughts': 0.19; 'seems': 0.21; 'feb': 0.22; '>>>': 0.22; 'appears': 0.22; 'import': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; '---': 0.24; "i've": 0.25; 'skip:" 40': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'installed': 0.27; 'url:bugs': 0.29; "doesn't": 0.30; 'errors': 0.30; 'skip:( 20': 0.30; "i'm": 0.30; '"",': 0.31; 'clever': 0.31; 'raised': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'skip:d 20': 0.34; 'could': 0.34; "can't": 0.35; 'except': 0.35; 'something': 0.35; 'installing': 0.36; 'skip:" 50': 0.36; 'done': 0.36; 'url:org': 0.36; 'should': 0.36; 'tired': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'that,': 0.38; 'anything': 0.39; 'recent': 0.39; 'extremely': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'manually': 0.60; 'skip:c 50': 0.60; 'hope': 0.61; 'free': 0.61; 'viruses': 0.61; 'protection': 0.63; 'our': 0.64; 'more': 0.64; 'minutes': 0.67; 'antivirus': 0.68; 'invalid': 0.68; '2014,': 0.84; 'ladies': 0.91; 'regret': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: 3.4rc2 and pip on windows Date: Mon, 03 Mar 2014 19:47:36 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-146-5-199.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: X-Antivirus: avast! (VPS 140302-1, 02/03/2014), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 61 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393876075 news.xs4all.nl 2969 [2001:888:2000:d::a6]:59913 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67574 On 03/03/2014 00:07, Terry Reedy wrote: > On 3/2/2014 6:55 PM, Mark Lawrence wrote: >> Trying to install pyttsx, it doesn't strike me as very clever that, as >> seen below, you get "Successfully installed pyttsx" despite the syntax >> errors and you can't actually do an import. >> >> c:\Users\Mark\CrossCode>c:\Python34\Scripts\pip3.4.exe install pyttsx >> Downloading/unpacking pyttsx >> Downloading pyttsx-1.1.tar.gz >> Running setup.py >> (path:C:\Users\Mark\AppData\Local\Temp\pip_build_Mark\pyttsx\setup.py) >> egg_info for package pyttsx >> >> Installing collected packages: pyttsx >> Running setup.py install for pyttsx >> File "C:\Python34\Lib\site-packages\pyttsx\driver.py", line 105 >> except Exception, e: >> ^ >> SyntaxError: invalid syntax >> >> [other syntax errors snipped] >> >> Successfully installed pyttsx > > A bug it seems to me. > >> Cleaning up... >> >> c:\Users\Mark\CrossCode>py -3.4 >> Python 3.4.0rc2 (v3.4.0rc2:a300712ed38c, Feb 23 2014, 10:49:04) [MSC >> v.1600 32 bit (Intel)] on win32 >> Type "help", "copyright", "credits" or "license" for more information. >> >>> import pyttsx >> Traceback (most recent call last): >> File "", line 1, in >> File "C:\Python34\lib\site-packages\pyttsx\__init__.py", line 18, in >> >> from engine import Engine >> >> I've looked at pyttsx in my 3.3 site-packages and it appears that I've >> manually run 2to3. Is this something that could be done automatically >> by pip? Your thoughts please, ladies and gentlemen. > > I should hope so. > FTR I raised this as http://bugs.python.org/issue20846 and it was closed 11 minutes after I raised it. I won't say anything else as I'm extremely tired and irritable and might well regret it later. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com