Re: How do you download and install HTML5TreeBuilder ?

2014-11-18 Thread Simon Evans
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.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: How do you download and install HTML5TreeBuilder ?

2014-11-18 Thread Mark Lawrence

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

--
https://mail.python.org/mailman/listinfo/python-list


Re: How do you download and install HTML5TreeBuilder ?

2014-11-18 Thread John Gordon
In  Simon Evans 
 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
gor...@panix.comwatch 'House', or a real serial killer to watch 'Dexter'.

-- 
https://mail.python.org/mailman/listinfo/python-list


How do you download and install HTML5TreeBuilder ?

2014-11-18 Thread Simon Evans
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. 
-- 
https://mail.python.org/mailman/listinfo/python-list