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


Groups > comp.lang.python > #68457

Installing binwalk on Portable Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <laguna-mc@mail.com>
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; '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; '122,': 0.16; '70,': 0.16; 'exception:': 0.16; 'portable': 0.16; 'received:gmx.com': 0.16; 'ways:': 0.16; 'file,': 0.19; 'install': 0.23; 'this?': 0.23; 'parse': 0.24; 'source': 0.25; 'installed': 0.27; 'tried': 0.27; 'skip:- 40': 0.29; 'skip:p 30': 0.29; 'raise': 0.29; "skip:' 10": 0.31; 'file': 0.32; 'run': 0.32; '(most': 0.33; 'cases': 0.33; 'version': 0.36; 'wrong': 0.37; 'two': 0.37; 'received:172.19': 0.38; 'to:addr:python-list': 0.38; 'recent': 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; 'first': 0.61; '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="========GMXBoundary22301395086198468697"
Date Mon, 17 Mar 2014 15:56:38 -0400
From laguna-mc@mail.com
MIME-Version 1.0
Subject 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 ITZVc9Jp3zOl2srVX3ghIpt+IGRvb0Do
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8220.1395086209.18130.python-list@python.org> (permalink)
Lines 74
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1395086209 news.xs4all.nl 2882 [2001:888:2000:d::a6]:58251
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68457

Show key headers only | View raw


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

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?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Installing binwalk on Portable Python laguna-mc@mail.com - 2014-03-17 15:56 -0400

csiph-web