Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed4.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; 'tool,': 0.07; '__init__': 0.09; 'args)': 0.09; 'req': 0.09; 'skip:2 30': 0.09; 'spec': 0.09; 'valueerror:': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'stored': 0.12; '2.7': 0.14; 'archive': 0.14; '122,': 0.16; '70,': 0.16; 'exception:': 0.16; 'portable': 0.16; 'ways:': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'cc:addr:python.org': 0.22; 'install': 0.23; 'this?': 0.23; 'error': 0.23; 'parse': 0.24; 'mon,': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'source': 0.25; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'skip:- 40': 0.29; 'skip:p 30': 0.29; 'raise': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; "skip:' 10": 0.31; 'quotes': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; '(most': 0.33; 'cases': 0.33; 'received:google.com': 0.35; 'version': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'two': 0.37; 'pm,': 0.38; 'recent': 0.39; 'skip:p 20': 0.39; 'space': 0.40; 'url:mail': 0.40; 'skip:2 20': 0.60; 'first': 0.61; 'mar': 0.68; 'line,': 0.68; 'flash': 0.69; 'drive.': 0.84; 'to:addr:mail.com': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=nouifOO8TTLh8eEkcPmyrq5yjuvqwHtpJayjIGOjuL0=; b=d/gHm55gLU17+9A43eQV5ZwyTPhD7TUmdOsYYkMWzLJe7IemSWV9WpmY4xOG1s0yc0 nOKPdpmlFNZcUsv7Jrfl2oUP644VMCGoNIS2OcpE+PXRKuK1BdCHzhJvrttfbr3KCG57 X/q5DSJtGa52MgzhbqqIZcTTlDssrpdrHU9WlHRjzhuSodrjyWDZulm840+BwjvFi20x SaJGTk9eFiRpl7TsuiqKBb92x25r3g7eHc5ZoqJm5/venspx0bP5aVlgH9+qkWyOwPnY wvNjT4EGW7vONF1OFG8Dm2x6ab3x5fs0YR/4zGYz7b0/N5kGAtyJ3BS4Tb9J+0bUiYHn Jjbw== X-Received: by 10.42.168.2 with SMTP id u2mr15866355icy.1.1395087262195; Mon, 17 Mar 2014 13:14:22 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140317195638.22300@gmx.com> References: <20140317195638.22300@gmx.com> From: Peter Mawhorter Date: Mon, 17 Mar 2014 13:13:52 -0700 Subject: Re: Installing binwalk on Portable Python To: laguna-mc@mail.com Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Mon, 17 Mar 2014 21:39:11 +0100 Cc: python-list@python.org 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: 55 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395088752 news.xs4all.nl 2970 [2001:888:2000:d::a6]:47621 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68459 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