Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68460
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1a.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; 'error:': 0.07; '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; '10:13': 0.16; '122,': 0.16; '70,': 0.16; 'exception:': 0.16; 'portable': 0.16; 'received:gmx.com': 0.16; 'tried:': 0.16; 'ways:': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'install': 0.23; 'this?': 0.23; 'error': 0.23; 'parse': 0.24; 'mon,': 0.24; 'looks': 0.24; 'source': 0.25; '>': 0.26; 'installed': 0.27; 'tried': 0.27; 'skip:- 40': 0.29; 'skip:p 30': 0.29; 'raise': 0.29; 'url:mailman': 0.30; "skip:' 10": 0.31; 'quotes': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; '(most': 0.33; '-----': 0.33; 'cases': 0.33; 'version': 0.36; 'installing': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'two': 0.37; 'received:172.19': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'recent': 0.39; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'space': 0.40; 'url:mail': 0.40; 'skip:2 20': 0.60; 'from:no real name:2**0': 0.61; 'first': 0.61; 're:': 0.63; 'mar': 0.68; '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="========GMXBoundary64791395089916808491" |
| Date | Mon, 17 Mar 2014 16:58:36 -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 | qwRVcyt43zOl2srVX3ghW/p+IGRvb4Bd |
| 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.8223.1395089921.18130.python-list@python.org> (permalink) |
| Lines | 173 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1395089921 news.xs4all.nl 2861 [2001:888:2000:d::a6]:53378 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:68460 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
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')
--------------
----- Original Message -----
From: Peter Mawhorter
Sent: 03/17/14 10:13 PM
To: laguna-mc@mail.com
Subject: Re: Installing binwalk on Portable Python
On Mon, Mar 17, 2014 at 12:56 PM, <laguna-mc@mail.com> 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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Installing binwalk on Portable Python laguna-mc@mail.com - 2014-03-17 16:58 -0400
csiph-web