Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:Windows': 0.02; 'log:': 0.05; 'mrab': 0.05; 'subject:Error': 0.07; '__init__': 0.09; 'args)': 0.09; 'matplotlib': 0.09; 'received:gmx.net': 0.09; 'req': 0.09; 'required,': 0.09; 'spec': 0.09; 'valueerror:': 0.09; 'python': 0.11; 'stored': 0.12; '2.7': 0.14; 'archive': 0.14; 'windows': 0.15; '"python': 0.16; '122,': 0.16; '70,': 0.16; 'exception:': 0.16; 'installer,': 0.16; 'portable': 0.16; 'received:gmx.com': 0.16; 'subject:when': 0.16; 'wrote:': 0.18; 'trying': 0.19; "skip:' 30": 0.19; 'install': 0.23; 'error': 0.23; 'parse': 0.24; 'skip:e 30': 0.24; 'source': 0.25; '>': 0.26; 'skip:" 30': 0.26; 'installed': 0.27; 'tried': 0.27; 'skip:p 30': 0.29; 'raise': 0.29; "i'm": 0.30; 'url:mailman': 0.30; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; '(most': 0.33; '-----': 0.33; "i'd": 0.34; 'problem': 0.35; 'version': 0.36; 'installing': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.37; 'received:172.19': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'url:mail': 0.40; 'how': 0.40; 'skip:2 20': 0.60; 'solve': 0.60; 're:': 0.63; 'email name:python-list': 0.65; 'subject:. ': 0.67; 'line,': 0.68; 'received:74.208': 0.68; 'flash': 0.69; 'drive.': 0.84; 'from:addr:mail.com': 0.93 Content-Type: multipart/alternative; boundary="========GMXBoundary64791395055750908140" Date: Mon, 17 Mar 2014 07:29:10 -0400 From: "Andrew Williams" MIME-Version: 1.0 Subject: Re: 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: 0blUcyt43zOl2srVX3ghVcx+IGRvb0BF 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: 99 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395055755 news.xs4all.nl 2842 [2001:888:2000:d::a6]:34562 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68419 --========GMXBoundary64791395055750908140 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Note that I have Portable Python, installed on USB flash drive. When I tried run matplotlib installer, I got error:'Cannot install': "Python version 2.7 required, which was not found in the registry" ----- Original Message ----- From: MRAB Sent: 03/17/14 03:55 AM To: python-list@python.org Subject: Re: Error when installing matplotlib-1.3. on Windows 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. -- https://mail.python.org/mailman/listinfo/python-list --========GMXBoundary64791395055750908140 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Note tha= t I have Portable Python, installed on USB flash drive. When I tried= run matplotlib installer, I got error:
'Cannot install': "Python version=
 2.7 required, which was not found in the registry"=20


=C2=A0

----- Origin= al Message -----

From: MRAB=

Sent: 03/17/14 03:55 AM

To: python-list@python.org

Subject: Re: Error when insta= lling matplotlib-1.3. on Windows

=C2=A0
On 201=
4-03-17 01:20, laguna-mc@mail.com wrote:=20
> I'm trying to install matplotlib from locally stored source archive fi=
le=20
> (Portable Python 2.7 on Windows):=20
>=20
> pip install E:\matplotlib-1.3.1.win32-py2.7.exe=20
>=20
> Got error, below is log:=20
>=20
>=20
> E:\Portable Python 2.7.5.1\App\Scripts\pip run on 03/17/14 03:10:16=20
> Exception:=20
> Traceback (most recent call last):=20
>    File "E:\Portable Python=20
> 2.7.5.1\App\lib\site-packages\pip\basecommand.py", line 122, in main=
=20
>      status =3D self.run(options, args)=20
>    File "E:\Portable Python=20
> 2.7.5.1\App\lib\site-packages\pip\commands\install.py", line 257, in r=
un=20
>      InstallRequirement.from_line(name, None))=20
>    File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\req.py",=
=20
> line 172, in from_line=20
>      return cls(req, comes_from, url=3Durl, prereleases=3Dprereleases)=
=20
>    File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\req.py",=
=20
> line 70, in __init__=20
>      req =3D pkg_resources.Requirement.parse(req)=20
>    File "E:\Portable Python=20
> 2.7.5.1\App\lib\site-packages\pip\_vendor\pkg_resources.py", line 2606=
,=20
> in parse=20
>      reqs =3D list(parse_requirements(s))=20
>    File "E:\Portable Python=20
> 2.7.5.1\App\lib\site-packages\pip\_vendor\pkg_resources.py", line 2544=
,=20
> in parse_requirements=20
>      line, p, specs =3D scan_list(VERSION,LINE_END,line,p,(1,2),"versi=
on=20
> spec")=20
>    File "E:\Portable Python=20
> 2.7.5.1\App\lib\site-packages\pip\_vendor\pkg_resources.py", line 2512=
,=20
> in scan_list=20
>      raise ValueError("Expected "+item_name+" in",line,"at",line[p:])=
=20
> ValueError: ('Expected version spec in',=20
> 'E:\\matplotlib-1.3.1.win32-py2.7.exe', 'at',=20
> ':\\matplotlib-1.3.1.win32-py2.7.exe')=20
>=20
>=20
> What is the problem and how to solve it?=20
>=20
Judging by the name, I'd say that "matplotlib-1.3.1.win32-py2.7.exe" is=20
an installer, so you just need to run it.=20
--=20
https://mail.python.org/mailman/listinfo/python-list

=C2=A0

--========GMXBoundary64791395055750908140--