Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68402

Re: Error when installing matplotlib-1.3. on Windows

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.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 <python@mrabarnett.plus.com>
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; '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; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'installer,': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'subject:when': 0.16; 'wrote:': 0.18; 'trying': 0.19; "skip:' 30": 0.19; 'install': 0.23; 'header:User-Agent:1': 0.23; 'parse': 0.24; 'skip:e 30': 0.24; 'source': 0.25; 'skip:" 30': 0.26; 'header:In- Reply-To:1': 0.27; 'skip:p 30': 0.29; 'raise': 0.29; "i'm": 0.30; 'file': 0.32; 'run': 0.32; '(most': 0.33; "i'd": 0.34; 'problem': 0.35; 'version': 0.36; '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; 'subject:. ': 0.67; 'line,': 0.68
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=eZmzft0H c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=sASEtNAQL0YA:10 a=R3x3PRfKMksA:10 a=ihvODaAuJD4A:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=hEh3JUyyAAAA:8 a=PK4hO0bF580bnwHznL8A:9 a=QEXdDO2ut3YA:10 a=MQZuI3m_nJAA:10
X-AUTH mrabarnett:2500
Date Mon, 17 Mar 2014 01:55:39 +0000
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Error when installing matplotlib-1.3. on Windows
References <20140317012054.292060@gmx.com>
In-Reply-To <20140317012054.292060@gmx.com>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.8175.1395021347.18130.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1395021347 news.xs4all.nl 2969 [2001:888:2000:d::a6]:48805
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68402

Show key headers only | View raw


On 2014-03-17 01:20, laguna-mc@mail.com wrote:
> 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?
>
Judging by the name, I'd say that "matplotlib-1.3.1.win32-py2.7.exe" is
an installer, so you just need to run it.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Error when installing matplotlib-1.3. on Windows MRAB <python@mrabarnett.plus.com> - 2014-03-17 01:55 +0000

csiph-web