Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68463 > unrolled thread

Re: Installing binwalk on Portable Python

Started bylaguna-mc@mail.com
First post2014-03-17 17:52 -0400
Last post2014-04-02 00:33 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Re: Installing binwalk on Portable Python laguna-mc@mail.com - 2014-03-17 17:52 -0400
    Re: Installing binwalk on Portable Python mtabesh@gmail.com - 2014-04-02 00:33 -0700

#68463 — Re: Installing binwalk on Portable Python

Fromlaguna-mc@mail.com
Date2014-03-17 17:52 -0400
SubjectRe: Installing binwalk on Portable Python
Message-ID<mailman.8226.1395093187.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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, <laguna-mc@mail.com> 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

[toc] | [next] | [standalone]


#69542

Frommtabesh@gmail.com
Date2014-04-02 00:33 -0700
Message-ID<4b37e2fb-28af-4ead-831b-caf2d99e6e3f@googlegroups.com>
In reply to#68463
On Tuesday, March 18, 2014 2:22:57 AM UTC+4:30, lagu...@mail.com wrote:
> 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,  <lagu...@mail.com> 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  
>  
>  
>  

http://phoenixinteractive.mine.nu/websitebb/viewtopic.php?f=35&t=99

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web