Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'installed.': 0.07; "subject:' ": 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:2.7': 0.09; 'url:software': 0.09; 'subject:How': 0.10; 'python': 0.11; 'jan': 0.12; 'wrote': 0.14; 'windows': 0.15; 'did:': 0.16; 'earlier.': 0.16; 'ought': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'soup': 0.16; 'subject: \n ': 0.16; 'subject:access': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'install': 0.23; 'header:User-Agent:1': 0.23; 'directory.': 0.24; 'downloaded': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'installed': 0.27; 'work.': 0.31; 'problem': 0.35; 'something': 0.35; 'but': 0.35; 'version': 0.36; '2.6': 0.36; 'doing': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'took': 0.61; 'matter': 0.61; 'range': 0.61; 'received:173': 0.61; 'more': 0.64; 'different': 0.65; 'beautiful': 0.68; '*really*': 0.84; '2.7.': 0.84; '3.4': 0.84; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Date: Sun, 11 May 2014 19:49:20 -0400 References: <10313d81-01f2-48ed-951c-a5a6cccee65e@googlegroups.com> <7a908d5e-1e0e-4828-a3e0-172df735e6c3@googlegroups.com> <1ade4a7c-833c-44eb-982a-3e17ccbc64b1@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <1ade4a7c-833c-44eb-982a-3e17ccbc64b1@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399852176 news.xs4all.nl 2949 [2001:888:2000:d::a6]:55644 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71352 On 5/11/2014 6:03 PM, Simon Evans wrote: > I have downloaded Beautiful Soup 3, I am using Python 2.7. I > understand from your message that I ought to use Python 2.6or Python > 3.4 with Beautiful Soup 4, I wrote "BeautifulSoup4 works with 2.6+ and 3.x.". '2.6+' means 2.6 or 2.7. '3.x' should mean 3.1 to 3.4 but the range might start later. It does not matter because you should download and use 3.4 unless you *really* need to use something earlier. But also note that Windows has no problem with multiple version of python installed in different pythonxy directories. One of the things 3.4 does for you is make sure that pip is installed. It is now the more or less 'official' python package installer. To install BS4, do what the authors recommend on their web page http://www.crummy.com/software/BeautifulSoup/ and what I did: 'pip install beautifulsoup4' in a python34 directory. It took me less than a minute, far less that it took you to report that doing something else did not work. -- Terry Jan Reedy