Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'output': 0.05; 'error:': 0.07; "subject:' ": 0.07; 'recommends': 0.09; 'setup.py': 0.09; 'subject:2.7': 0.09; 'subject:How': 0.10; 'python': 0.11; '2.7': 0.14; 'windows': 0.15; 'build_py': 0.16; 'folder,': 0.16; 'folder.': 0.16; 'soup': 0.16; 'subject: \n ': 0.16; 'subject:access': 0.16; 'subject:python': 0.16; 'folder': 0.16; 'wrote:': 0.18; 'install': 0.23; 'mon,': 0.24; '(see': 0.26; 'header:In-Reply-To:1': 0.27; '(c)': 0.29; '2009': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'running': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'should': 0.36; 'problems': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; '12,': 0.39; 'to:addr:python.org': 0.39; 'dear': 0.65; 'within': 0.65; 'bottom': 0.67; 'reserved.': 0.68; 'beautiful': 0.68; 'transferred': 0.68; 'therefore': 0.72; 'demonstrates': 0.84; 'ian,': 0.84; 'wipe': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=CB3LhAxLf458Dfyfs7hh8GvsqfaM/D7Va8ETmZIqZQQ=; b=0hF1VoGr6oe5kfz/B7w6uyUXsa3cIgr3+m0ULVeeQhWYVOL2h5g1aDuNjtPmjBMhkn z7dZwbGj9J3yM8LuHhYLS/HlRf6Cwxl5nKaOJFh2BuSF34hfT4J3CZLuDFCLhi9vPAD3 Dp2cPxOFJ0jYJITk0ErvS/z98zfBv0PucBaQbVFBKRqJtrcNI6uzpvirE+HHHAMf1Rve 9JbJshnM193ASvFJstWgHBRUIUmjhCe+jcBcY+YV64E9PXEWhDA4WwT/KG2E+VVVTpHE cOUnRPP/nhjBwRhjhWU5ewwzOPjNuP7vULxYG/s4AYwsXzxrhRTMnwYpDiQarD4hxMo4 BbjA== X-Received: by 10.66.146.105 with SMTP id tb9mr11648087pab.157.1399935289664; Mon, 12 May 2014 15:54:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <10313d81-01f2-48ed-951c-a5a6cccee65e@googlegroups.com> <7a908d5e-1e0e-4828-a3e0-172df735e6c3@googlegroups.com> <1ade4a7c-833c-44eb-982a-3e17ccbc64b1@googlegroups.com> <7b33a525-58ee-4009-94c4-f9ed69eb3af0@googlegroups.com> From: Ian Kelly Date: Mon, 12 May 2014 16:54:09 -0600 Subject: Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. To: Python Content-Type: text/plain; charset=UTF-8 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399935297 news.xs4all.nl 2898 [2001:888:2000:d::a6]:39906 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71403 On Mon, May 12, 2014 at 10:35 AM, Simon Evans wrote: > Dear Ian, > The book does recommend to use Python 2.7 (see bottom line of page 10). > The book also recommends to use Beautiful Soup 4. > You are right that in that I have placed the unzipped BS4 folder within a folder, and I therefore removed the contents of the inner folder and transferred them to the outer folder. > The console now can access the contents of the Beautiful Soup folder, but it is still having problems with it as the last output to my console demonstrates : > > > Microsoft Windows [Version 6.1.7601] > > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > C:\Users\Intel Atom>cd "c:\Beautiful Soup" > > c:\Beautiful Soup>c:\Python27\python setup.py install > running install > running build > running build_py > error: package directory 'bs4' does not exist In the same folder where setup.py is, there should be a bs4 folder. You might want to just wipe your Beautiful Soup directory and do a clean unzip.