Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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; 'win32': 0.03; 'log:': 0.05; 'subject:Python': 0.06; 'error:': 0.07; 'tool,': 0.07; '__init__': 0.09; 'args)': 0.09; 'received:gmx.net': 0.09; 'req': 0.09; 'skip:2 30': 0.09; 'spec': 0.09; 'valueerror:': 0.09; 'python': 0.11; 'stored': 0.12; '2.7': 0.14; 'archive': 0.14; '10:13': 0.16; '122,': 0.16; '70,': 0.16; 'exception:': 0.16; 'portable': 0.16; 'received:gmx.com': 0.16; 'tried:': 0.16; 'ways:': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'install': 0.23; 'this?': 0.23; 'error': 0.23; 'parse': 0.24; 'mon,': 0.24; 'looks': 0.24; 'source': 0.25; '>': 0.26; 'installed': 0.27; 'tried': 0.27; 'skip:- 40': 0.29; 'skip:p 30': 0.29; 'raise': 0.29; 'url:mailman': 0.30; "skip:' 10": 0.31; 'quotes': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; '(most': 0.33; '-----': 0.33; 'cases': 0.33; 'version': 0.36; 'installing': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'two': 0.37; 'received:172.19': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'recent': 0.39; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'space': 0.40; 'url:mail': 0.40; 'skip:2 20': 0.60; 'from:no real name:2**0': 0.61; 'first': 0.61; 're:': 0.63; 'mar': 0.68; '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="========GMXBoundary64791395089916808491" Date: Mon, 17 Mar 2014 16:58:36 -0400 From: laguna-mc@mail.com MIME-Version: 1.0 Subject: Re: Installing binwalk on Portable Python To: python-list@python.org X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 X-GMX-UID: qwRVcyt43zOl2srVX3ghW/p+IGRvb4Bd 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: 173 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395089921 news.xs4all.nl 2861 [2001:888:2000:d::a6]:53378 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68460 --========GMXBoundary64791395089916808491 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit I tried: pip install "E:\Portable Python 2.7.5.1\binwalk-1.3.0\src\setup.py" Error: E:\Portable Python 2.7.5.1\App\Scripts\pip run on 03/17/14 22:53:51 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:\\Portable Python 2.7.5.1\\binwalk-1.3.0\\src\\setup.py', 'at', ':\\Portable Python 2.7.5.1\\binwalk-1.3.0\\src\\setup.py') -------------- ----- Original Message ----- From: Peter Mawhorter Sent: 03/17/14 10:13 PM To: laguna-mc@mail.com Subject: Re: Installing binwalk on Portable Python On Mon, Mar 17, 2014 at 12:56 PM, wrote: > Portable Python 2.7 for Win32 and installed on USB flash drive. I want > install Binwalk tool, it have a few depencencies, I installed it first > (numpy, matplotlib, libmagic, python-magic) > Then I tried to install binwalk from locally stored source archive file, I > tried two ways: > > pip install E:\Portable Python 2.7.5.1\binwalk-1.3.0.tar > > pip install E:\Portable Python 2.7.5.1\binwalk-1.3.0\src\setup.py > > I both cases I got error, below is log: > > E:\Portable Python 2.7.5.1\App\Scripts\pip run on 03/17/14 21:25:47 > 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:\\Portable', 'at', > ':\\Portable') > ------------------------------------------- > > > > What is wrong with this? > -- > https://mail.python.org/mailman/listinfo/python-list > From your error it looks like you just need quotes around the path because it has a space in it. -Peter Mawhorter --========GMXBoundary64791395089916808491 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
I  tri= ed: pip install "E:\Portable Python 2.7.5.1\binwalk-1.3.0\src\setup.py"

Error:

E:\Portable Python 2.7.5.1\App\Scripts\pip run on= 03/17/14 22:53:51
Exception:
Traceback (most recent call last):<= br />  File "E:\Portable Python 2.7.5.1\App\lib\site-packages\pip\base= command.py", line 122, in main
    status =3D self.run(= options, args)
  File "E:\Portable Python 2.7.5.1\App\lib\site-pa= ckages\pip\commands\install.py", line 257, in run
    I= nstallRequirement.from_line(name, None))
  File "E:\Portable Pyth= on 2.7.5.1\App\lib\site-packages\pip\req.py", line 172, in from_line
&= nbsp;   return cls(req, comes_from, url=3Durl, prereleases=3Dprer= eleases)
  File "E:\Portable Python 2.7.5.1\App\lib\site-packages= \pip\req.py", line 70, in __init__
    req =3D pkg_reso= urces.Requirement.parse(req)
  File "E:\Portable Python 2.7.5.1\A= pp\lib\site-packages\pip\_vendor\pkg_resources.py", line 2606, in parse
    reqs =3D 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, spe= cs =3D 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_reso= urces.py", line 2512, in scan_list
    raise ValueError= ("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expecte= d version spec in', 'E:\\Portable Python 2.7.5.1\\binwalk-1.3.0\\src\\setup= .py', 'at', ':\\Portable Python 2.7.5.1\\binwalk-1.3.0\\src\\setup.py')


--------------
 

 

----- Original Message -----

From: Peter Mawhorter

Sent: 03/17/14 10:13 PM

To: laguna-mc@mail.= com

Subject: Re: Installing binwalk on Portable Python

 
=
On Mon, Mar 17, 2014 at 12:56 PM,  <lagun=
a-mc@mail.com> wrote:=20
> Portable Python 2.7 for Win32 and installed on USB flash drive. I want=
=20
> install Binwalk tool, it have a few depencencies,  I installed it firs=
t=20
> (numpy, matplotlib, libmagic,  python-magic)=20
> Then I tried to install binwalk from locally stored source archive fil=
e, I=20
> tried two ways:=20
>=20
> pip install E:\Portable Python 2.7.5.1\binwalk-1.3.0.tar=20
>=20
> pip install E:\Portable Python 2.7.5.1\binwalk-1.3.0\src\setup.py=20
>=20
> I both cases I got error, below is log:=20
>=20
> E:\Portable Python 2.7.5.1\App\Scripts\pip run on 03/17/14 21:25:47=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", =
line=20
> 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", =
line=20
> 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=
, in=20
> 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=
, in=20
> parse_requirements=20
>     line, p, specs =3D scan_list(VERSION,LINE_END,line,p,(1,2),"versio=
n spec")=20
>   File "E:\Portable Python=20
> 2.7.5.1\App\lib\site-packages\pip\_vendor\pkg_resources.py", line 2512=
, in=20
> scan_list=20
>     raise ValueError("Expected "+item_name+" in",line,"at",line[p:])=
=20
> ValueError: ('Expected version spec in', 'E:\\Portable', 'at',=20
> ':\\Portable')=20
> -------------------------------------------=20
>=20
>=20
>=20
> What is wrong with this?=20
> --=20
> https://mail.python.org/mailman/listinfo/python-list=20
>=20

>From your error it looks like you just need quotes around the path=20
because it has a space in it.=20

-Peter Mawhorter
=

 

=  


 
--========GMXBoundary64791395089916808491--