Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68459
| References | <20140317195638.22300@gmx.com> |
|---|---|
| From | Peter Mawhorter <pmawhorter@gmail.com> |
| Date | 2014-03-17 13:13 -0700 |
| Subject | Re: Installing binwalk on Portable Python |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.8222.1395088752.18130.python-list@python.org> (permalink) |
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 Peter Mawhorter <pmawhorter@gmail.com> - 2014-03-17 13:13 -0700
csiph-web