Error when installing matplotlib-1.3. on Windows

laguna-mc at laguna-mc at
Mon Mar 17 02:20:54 CET 2014

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\App\Scripts\pip run on 03/17/14 03:10:16
Traceback (most recent call last):
 File "E:\Portable Python\App\lib\site-packages\pip\", line 122, in main
 status =, args)
 File "E:\Portable Python\App\lib\site-packages\pip\commands\", line 257, in run
 InstallRequirement.from_line(name, None))
 File "E:\Portable Python\App\lib\site-packages\pip\", line 172, in from_line
 return cls(req, comes_from, url=url, prereleases=prereleases)
 File "E:\Portable Python\App\lib\site-packages\pip\", line 70, in __init__
 req = pkg_resources.Requirement.parse(req)
 File "E:\Portable Python\App\lib\site-packages\pip\_vendor\", line 2606, in parse
 reqs = list(parse_requirements(s))
 File "E:\Portable Python\App\lib\site-packages\pip\_vendor\", line 2544, in parse_requirements
 line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
 File "E:\Portable Python\App\lib\site-packages\pip\_vendor\", 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list