<span style='font-family:Verdana'><span style='font-size:12px'>Note that I have <u>Portable Python</u>, installed on USB flash drive. When I tried run matplotlib installer, I got error:<pre style="white-space: pre-wrap; word-wrap: break-word; font-size:11;pre">'Cannot install': "Python version 2.7 required, which was not found in the registry" 
</pre><br /><br /> <blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite"><p style="margin:0px; padding:0px;" ><span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></p><p style="margin:0px; padding:0px;" ><span style="font-family:Verdana"><span style="font-size:12px">From: MRAB</span></span></p><p style="margin:0px; padding:0px;" ><span style="font-family:Verdana"><span style="font-size:12px">Sent: 03/17/14 03:55 AM</span></span></p><p style="margin:0px; padding:0px;" ><span style="font-family:Verdana"><span style="font-size:12px">To: python-list@python.org</span></span></p><p style="margin:0px; padding:0px;" ><span style="font-family:Verdana"><span style="font-size:12px">Subject: Re: Error when installing matplotlib-1.3. on Windows</span></span></p> <div><div><pre style="white-space: pre-wrap; word-wrap: break-word; font-size:11;pre">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</pre></div></div></blockquote><p style="margin:0px; padding:0px;" > </p></span></span>