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


Groups > comp.lang.python > #81014 > unrolled thread

How do you download and install HTML5TreeBuilder ?

Started bySimon Evans <musicalhacksaw@yahoo.co.uk>
First post2014-11-18 13:55 -0800
Last post2014-11-18 15:19 -0800
Articles 4 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  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

#81014 — How do you download and install HTML5TreeBuilder ?

FromSimon Evans <musicalhacksaw@yahoo.co.uk>
Date2014-11-18 13:55 -0800
SubjectHow do you download and install HTML5TreeBuilder ?
Message-ID<bbeeb470-aff9-4634-be0a-f9534b0edfc4@googlegroups.com>
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. 

[toc] | [next] | [standalone]


#81015

FromJohn Gordon <gordon@panix.com>
Date2014-11-18 22:18 +0000
Message-ID<m4ggj2$iqt$1@reader1.panix.com>
In reply to#81014
In <bbeeb470-aff9-4634-be0a-f9534b0edfc4@googlegroups.com> Simon Evans <musicalhacksaw@yahoo.co.uk> writes:

> I downloaded HTML5 files and installed them to my Python2.7 directory,
> and went through the 'pip install' procedure, but this did not work. 

> html5lib-0.999(1).tar.gz
> html5lib-0.999.tar.gz
> HTMLParser-0.0.2.tar.gz

Those first two files seem identical.  Did you mean to download the same
file twice?

Where did you place the files?  You say you 'installed' them to your
Python2.7 directory.  Is 'C:\Users\Intel Atom' your Python2.7 directory?

The command transcript appears to be you typing the same command,
'pip install HTML5', three times, with exactly the same result each time.
Did you mean to execute the same command three times over?  If so, did
you expect to get different results the second or third time?

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

[toc] | [prev] | [next] | [standalone]


#81016

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-11-18 22:22 +0000
Message-ID<mailman.15983.1416349352.18130.python-list@python.org>
In reply to#81014
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

[toc] | [prev] | [next] | [standalone]


#81019

FromSimon Evans <musicalhacksaw@yahoo.co.uk>
Date2014-11-18 15:19 -0800
Message-ID<475591cb-9f35-4296-9f72-65debe01bc7b@googlegroups.com>
In reply to#81014
re: 

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Intel Atom>pip install html5lib
Downloading/unpacking html5lib
  Running setup.py (path:c:\users\intela~1\appdata\local\temp\pip_build_Intel At
om\html5lib\setup.py) egg_info for package html5lib

Downloading/unpacking six (from html5lib)
  Downloading six-1.8.0-py2.py3-none-any.whl
Installing collected packages: html5lib, six
  Running setup.py install for html5lib

Successfully installed html5lib six
Cleaning up...

C:\Users\Intel Atom>


- Thanks Mark.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web