Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'log:': 0.05; 'subject:Error': 0.07; '__init__': 0.09; 'args)': 0.09; 'matplotlib': 0.09; 'received:gmx.net': 0.09; 'req': 0.09; 'spec': 0.09; 'valueerror:': 0.09; 'python': 0.11; 'stored': 0.12; '2.7': 0.14; 'archive': 0.14; '122,': 0.16; '70,': 0.16; 'exception:': 0.16; 'received:gmx.com': 0.16; 'subject:when': 0.16; 'trying': 0.19; "skip:' 30": 0.19; 'install': 0.23; 'parse': 0.24; 'skip:e 30': 0.24; 'source': 0.25; 'skip:p 30': 0.29; 'raise': 0.29; "i'm": 0.30; "skip:' 40": 0.31; 'file': 0.32; 'run': 0.32; '(most': 0.33; 'problem': 0.35; 'version': 0.36; 'received:172.19': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'how': 0.40; 'skip:2 20': 0.60; 'solve': 0.60; 'from:no real name:2**0': 0.61; 'subject:. ': 0.67; 'line,': 0.68; 'received:74.208': 0.68; 'from:addr:mail.com': 0.93 Content-Type: multipart/alternative; boundary="========GMXBoundary292061395019254868574" Date: Sun, 16 Mar 2014 21:20:54 -0400 From: laguna-mc@mail.com MIME-Version: 1.0 Subject: Error when installing matplotlib-1.3. on Windows To: python-list@python.org X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 X-GMX-UID: oShUc3IT3zOl2srVX3ghV+x+IGRvbwBP 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: 68 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395019260 news.xs4all.nl 2844 [2001:888:2000:d::a6]:45596 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68401 --========GMXBoundary292061395019254868574 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit I'm trying to install matplotlib from locally stored source archive file (Portable Python 2.7 on Windows): pip install E:\matplotlib-1.3.1.win32-py2.7.exe Got error, below is log: E:\Portable Python 2.7.5.1\App\Scripts\pip run on 03/17/14 03:10:16 Exception: Traceback (most recent call last): File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\basecommand.py", line 122, in main status = self.run(options, args) File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\commands\install.py", line 257, in run InstallRequirement.from_line(name, None)) File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\req.py", line 172, in from_line return cls(req, comes_from, url=url, prereleases=prereleases) File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\req.py", line 70, in __init__ req = pkg_resources.Requirement.parse(req) File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\_vendor\pkg_resources.py", line 2606, in parse reqs = list(parse_requirements(s)) File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\_vendor\pkg_resources.py", line 2544, in parse_requirements line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec") File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\_vendor\pkg_resources.py", line 2512, in scan_list raise ValueError("Expected "+item_name+" in",line,"at",line[p:]) ValueError: ('Expected version spec in', 'E:\\matplotlib-1.3.1.win32-py2.7.exe', 'at', ':\\matplotlib-1.3.1.win32-py2.7.exe') What is the problem and how to solve it? --========GMXBoundary292061395019254868574 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable I'm tryi= ng to install matplotlib from locally stored source archive file (Portable Python 2= .7 on Windows):

pip install E:\matplotlib-1.3.1.wi= n32-py2.7.exe

Got error, below is log:


E:\Porta= ble Python 2.7.5.1\App\Scripts\pip run on 03/17/14 03:10:16
Exception:=
Traceback (most recent call last):
  File "E:\Portable Pyth= on 2.7.5.1\App\lib\site-packages\pip\basecommand.py", line 122, in main
    status =3D self.run(options, args)
  File "E= :\Portable Python 2.7.5.1\App\lib\site-packages\pip\commands\install.py", l= ine 257, in run
    InstallRequirement.from_line(name, = None))
  File "E:\Portable Python 2.7.5.1\App\lib\site-packages\p= ip\req.py", line 172, in from_line
    return cls(req, = comes_from, url=3Durl, prereleases=3Dprereleases)
  File "E:\Port= able Python 2.7.5.1\App\lib\site-packages\pip\req.py", line 70, in __init__=
    req =3D pkg_resources.Requirement.parse(req)
=   File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\_vendor\p= kg_resources.py", line 2606, in parse
    reqs =3D list= (parse_requirements(s))
  File "E:\Portable Python 2.7.5.1\App\li= b\site-packages\pip\_vendor\pkg_resources.py", line 2544, in parse_requirem= ents
    line, p, specs =3D scan_list(VERSION,LINE_END,= line,p,(1,2),"version spec")
  File "E:\Portable Python 2.7.5.1\A= pp\lib\site-packages\pip\_vendor\pkg_resources.py", line 2512, in scan_list=
    raise ValueError("Expected "+item_name+" in",line,= "at",line[p:])
ValueError: ('Expected version spec in', 'E:\\matplotli= b-1.3.1.win32-py2.7.exe', 'at', ':\\matplotlib-1.3.1.win32-py2.7.exe')


What is the problem and how to solve it?

 


 
--========GMXBoundary292061395019254868574--