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


Groups > comp.lang.python > #80104

Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7
Date 2014-11-01 16:43 -0400
References <9580043d-a75b-4b87-9a21-1b9c0347671f@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.15398.1414874603.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 11/1/2014 10:17 AM, Simon Evans wrote:
> Hi Programmers, I have downloaded, installed, and can access the
> LXMLTreeBuilder/lxml, from Python2.7. however I have also downloaded
> HTMLTreeBuilder/html5lib but cannot get console to recognize the
> download, even using the code the download site suggests. I did put
> it in the Python2.7 directory,

What OS are you using.  Exactly where dod you put each lib?  Are each of 
the two installs a single module or a package directory?  If the latter, 
does the directory contain __init__.py

> but unlike the HTML one, it doesn't
> recognize it, so the import statement returns an error.

There must be some difference.  Look carefully. And please post the 
traceback.

-- 
Terry Jan Reedy

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


Thread

Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-01 07:17 -0700
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Terry Reedy <tjreedy@udel.edu> - 2014-11-01 16:43 -0400
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 06:58 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 15:27 +0000
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Terry Reedy <tjreedy@udel.edu> - 2014-11-02 15:08 -0500
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Ned Batchelder <ned@nedbatchelder.com> - 2014-11-02 15:43 -0500
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 07:23 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 15:30 +0000
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 09:51 -0800
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 11:22 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 19:39 +0000
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 13:59 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 22:31 +0000
    Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7 Chris Angelico <rosuav@gmail.com> - 2014-11-03 10:33 +1100
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 14:20 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 22:34 +0000
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-03 08:27 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7 Chris Angelico <rosuav@gmail.com> - 2014-11-04 03:41 +1100
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-03 13:28 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-03 21:42 +0000

csiph-web