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


Groups > comp.lang.python > #81016

Re: How do you download and install HTML5TreeBuilder ?

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'debug': 0.07; 'suppose': 0.07; 'assuming': 0.09; 'decline': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'satisfy': 0.09; 'setup.py': 0.09; 'subject:How': 0.10; 'language.': 0.14; 'windows': 0.15; '(use': 0.16; '7.0': 0.16; 'attempted': 0.16; 'elsewhere.': 0.16; 'programmers,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'storing': 0.16; 'subject:download': 0.16; 'subject:install': 0.16; 'followed': 0.16; 'subject: ?': 0.16; 'language': 0.16; 'wrote:': 0.18; 'install': 0.23; 'header:User-Agent:1': 0.23; 'software.': 0.24; 'downloaded': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'installed': 0.27; 'leave': 0.29; '(c)': 0.29; '2009': 0.29; "doesn't": 0.30; 'besides': 0.30; 'returned': 0.30; "i'm": 0.30; 'work.': 0.31; 'went': 0.31; 'directory,': 0.31; 'python2.7': 0.31; 'anyone': 0.31; 'running': 0.33; 'skip:d 20': 0.34; 'could': 0.34; 'requirement': 0.35; 'but': 0.35; 'version': 0.36; 'installing': 0.36; 'wrong': 0.37; 'thank': 0.38; 'to:addr :python-list': 0.38; 'files': 0.38; '(from': 0.39; 'help,': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; "you're": 0.61; 'name': 0.63; 'such': 0.63; 'our': 0.64; 'different': 0.65; 'dear': 0.65; 'charset:windows-1252': 0.65; 'reserved.': 0.68; 'six': 0.68; 'satisfied': 0.81; 'console,': 0.84; 'html5,': 0.84; 'procedure,': 0.84; 'subject:skip:H 10': 0.84; 'upset': 0.84; 'subject:you': 0.87; 'yours': 0.88
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: How do you download and install HTML5TreeBuilder ?
Date Tue, 18 Nov 2014 22:22:11 +0000
References <bbeeb470-aff9-4634-be0a-f9534b0edfc4@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-78-147-183-25.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
In-Reply-To <bbeeb470-aff9-4634-be0a-f9534b0edfc4@googlegroups.com>
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.15983.1416349352.18130.python-list@python.org> (permalink)
Lines 72
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416349352 news.xs4all.nl 2852 [2001:888:2000:d::a6]:45902
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81016

Show key headers only | View raw


On 18/11/2014 21:55, Simon Evans wrote:
> Dear Programmers,
> I have installed the HTMLParserTreebuilder and LXMLTreeBuilder downloads to my Python2.7 console, using the Windows Console 'pip install' procedure.
>
> I downloaded HTML5 files and installed them to my Python2.7 directory, and went through the 'pip install' procedure, but this did not work.
>
> I do not know whether it is because different procedure must be followed for HTML5, or that I downloaded the wrong files, the files I downloaded and attempted to install were the following three :-
>
> html5lib-0.999(1).tar.gz
>
> html5lib-0.999.tar.gz
>
> HTMLParser-0.0.2.tar.gz
>
> The  Windows 7.0 Console returned the following in response :-
> ----------------------------------------------------------------------------
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>
> C:\Users\Intel Atom>pip install HTML5
> Downloading/unpacking HTML5
>    Could not find any downloads that satisfy the requirement HTML5
> Cleaning up...
> No distributions at all found for HTML5
> Storing debug log for failure in c:\users\intela~1\appdata\local\temp\tmp4pxazz
>
> C:\Users\Intel Atom>pip install HTML5
> Downloading/unpacking HTML5
>    Could not find any downloads that satisfy the requirement HTML5
> Cleaning up...
> No distributions at all found for HTML5
> Storing debug log for failure in c:\users\intela~1\appdata\local\temp\tmp81fbka
>
> C:\Users\Intel Atom>pip install HTML5
> Downloading/unpacking HTML5
>    Could not find any downloads that satisfy the requirement HTML5
> Cleaning up...
> No distributions at all found for HTML5
> Storing debug log for failure in c:\users\intela~1\appdata\local\temp\tmphaw01m
>
> C:\Users\Intel Atom>
> ----------------------------------------------------------------------------
> I suppose my main conundrum is from where can I download a version of the
> HTML5 Treebuilder that will install using pip. It doesn't help that HTML5 also happens to be the name of some video editing software.
> Thank you for reading.
> PS: If anyone is upset about 'one line paragraphs' and other such petulancies, then please decline to respond, seeing as far as I'm concerned such trivialities are besides the point, and are of no help, so vent your ire elsewhere.
> YOurs Simon Evans.
>

I never download files, I just leave the work to pip.  I'm assuming this 
is what you're looking for.

c:\Users\Mark\Cash\Python>pip install html5lib
Downloading/unpacking html5lib
   Running setup.py 
(path:C:\Users\Mark\AppData\Local\Temp\pip_build_Mark\html5lib\setup.py) 
egg_info for package html5lib

Requirement already satisfied (use --upgrade to upgrade): six in 
c:\python34\lib\site-packages (from html5lib)
Installing collected packages: html5lib
   Running setup.py install for html5lib

Successfully installed html5lib
Cleaning up...

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

How do you download and install HTML5TreeBuilder ? Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-18 13:55 -0800
  Re: How do you download and install HTML5TreeBuilder ? John Gordon <gordon@panix.com> - 2014-11-18 22:18 +0000
  Re: How do you download and install HTML5TreeBuilder ? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-18 22:22 +0000
  Re: How do you download and install HTML5TreeBuilder ? Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-18 15:19 -0800

csiph-web