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!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'error:': 0.07; '__init__': 0.09; 'args)': 0.09; 'received:gmx.net': 0.09; 'req': 0.09; 'setup.py': 0.09; 'skip:2 30': 0.09; 'spec': 0.09; 'try:': 0.09; 'valueerror:': 0.09; 'python': 0.11; 'itself.': 0.14; '122,': 0.16; '70,': 0.16; 'exception:': 0.16; 'expert,': 0.16; 'portable': 0.16; 'received:gmx.com': 0.16; 'tried:': 0.16; 'url:file': 0.16; 'url:ftp': 0.16; 'wrote:': 0.18; 'help.': 0.21; 'seems': 0.21; 'install': 0.23; 'installation': 0.23; 'module,': 0.24; 'parse': 0.24; 'mon,': 0.24; '>': 0.26; 'installed': 0.27; 'skip:p 30': 0.29; 'raise': 0.29; 'start,': 0.30; "i'm": 0.30; "skip:' 10": 0.31; 'file': 0.32; 'run': 0.32; '(most': 0.33; '-----': 0.33; 'but': 0.35; 'version': 0.36; 'installing': 0.36; 'received:172.19': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'rather': 0.38; 'recent': 0.39; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'skip:2 20': 0.60; 'from:no real name:2**0': 0.61; 're:': 0.63; 'due': 0.66; 'mar': 0.68; 'line,': 0.68; 'received:74.208': 0.68; 'failure:': 0.84; 'from:addr:mail.com': 0.93 Content-Type: multipart/alternative; boundary="========GMXBoundary64781395093177378311" Date: Mon, 17 Mar 2014 17:52:57 -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: 7gtVcyp43zOl2srVX3ghynZ+IGRvb0DG 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: 121 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395093187 news.xs4all.nl 2889 [2001:888:2000:d::a6]:40169 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68463 --========GMXBoundary64781395093177378311 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Yes, that help. Installation start, but then failed due to "Pre-requisite failure: failed to find libmagic. Check your installation. Please install the python-magic module, or download and install it from source: ftp://ftp.astron.com/pub/file/' " Although libmagic was installed using pip. ----- Original Message ----- From: Peter Mawhorter Sent: 03/17/14 11:07 PM To: laguna-mc Subject: Re: Installing binwalk on Portable Python On Mon, Mar 17, 2014 at 1:58 PM, wrote: > 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') > > > -------------- I'm no expert, but when I try to run pip install ... it seems to want a directory that contains a setup.py file rather than the path of the setup.py file itself. Try: pip install "E:\Portable Python 2.7.5.1\binwalk-1.3.0\src" perhaps? -Peter Mawhorter --========GMXBoundary64781395093177378311 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Yes, that&n= bsp; help.
Installation start, but then failed due to "Pre-requisite f= ailure: failed to find libmagic. Check your installation. Please install th= e python-magic module, or download and install it from source: ftp://ftp.as= tron.com/pub/file/' "
Although libmagic was installed using pip.
=
 

 

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

From: Peter Mawhorter

S= ent: 03/17/14 11:07 PM

To: laguna-mc

Subject: Re: Installing binwalk = on Portable Python

 
= On Mon, = Mar 17, 2014 at 1:58 PM, <laguna-mc@mail.com> wrote:=20 > I tried: pip install "E:\Portable Python=20 > 2.7.5.1\binwalk-1.3.0\src\setup.py"=20 >=20 > Error:=20 >=20 > E:\Portable Python 2.7.5.1\App\Scripts\pip run on 03/17/14 22:53:51=20 >=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 Python=20 > 2.7.5.1\\binwalk-1.3.0\\src\\setup.py', 'at', ':\\Portable Python=20 > 2.7.5.1\\binwalk-1.3.0\\src\\setup.py')=20 >=20 >=20 > --------------=20 I'm no expert, but when I try to run pip install ... it seems to want=20 a directory that contains a setup.py file rather than the path of the=20 setup.py file itself. Try:=20 pip install "E:\Portable Python 2.7.5.1\binwalk-1.3.0\src"=20 perhaps?=20 -Peter Mawhorter
=

 

 


&= nbsp;
--========GMXBoundary64781395093177378311--