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 ?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: How do you download and install HTML5TreeBuilder ?
Date 2014-11-18 22:22 +0000
References <bbeeb470-aff9-4634-be0a-f9534b0edfc4@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.15983.1416349352.18130.python-list@python.org> (permalink)

Show all headers | 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