Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2a.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; 'subject:Python': 0.06; 'error:': 0.07; '__init__': 0.09; 'args)': 0.09; 'req': 0.09; 'setup.py': 0.09; 'skip:2 30': 0.09; 'spec': 0.09; 'try:': 0.09; 'valueerror:': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'itself.': 0.14; '122,': 0.16; '70,': 0.16; 'exception:': 0.16; 'expert,': 0.16; 'tried:': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'install': 0.23; 'parse': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'skip:p 30': 0.29; 'raise': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; "skip:' 10": 0.31; 'file': 0.32; 'run': 0.32; '(most': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'skip:- 10': 0.38; 'pm,': 0.38; 'rather': 0.38; 'recent': 0.39; 'skip:p 20': 0.39; 'skip:2 20': 0.60; 'mar': 0.68; 'line,': 0.68; '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=bnyQVO3EAet5mEGp3bA1Msr9300CK32M7kPTbyHTZ3A=; b=lMLoK3wjYwrloD47lMBNDqkRMFQjCHBpkOZByBY8eN45yLQEfb4kAHjmHdHXC0edZN wtagcACa2dDKsnTGtyhxU39Z0jTHa/IsVyrruNkD+uM6mEqLjLEfeecFTIYRqOdXGsa/ tHNAVTOdkDZs/7cGngyAAXgQShBGdoLAWzHqJ5kxGratD1Biu7e0u8lVAgnDBV3p6Zil z4FbmxkCBCmflPDOEJCV+HR+eMXKY8iR651NGLOxIXmZ/MRtLNbfrTXhZ2jfIgs0rqtc X5BK73B6fEMxPFfsUOUCsF6mQINNNtIbHuvx7rDhnAcD6uHPVxsowp7cbVj1UQKtvWvh +FRw== X-Received: by 10.50.78.164 with SMTP id c4mr4280621igx.23.1395090454115; Mon, 17 Mar 2014 14:07:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140317205836.64790@gmx.com> References: <20140317205836.64790@gmx.com> From: Peter Mawhorter Date: Mon, 17 Mar 2014 14:07:03 -0700 Subject: Re: Installing binwalk on Portable Python To: laguna-mc Content-Type: text/plain; charset=UTF-8 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: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395090463 news.xs4all.nl 2961 [2001:888:2000:d::a6]:56499 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68461 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