Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3a.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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'anyway.': 0.05; "subject:' ": 0.07; 'okay': 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; 'reedy': 0.16; 'soup': 0.16; 'subject: \n ': 0.16; 'subject:access': 0.16; 'suggested,': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'trying': 0.19; "hasn't": 0.19; 'thanks.': 0.20; 'command': 0.22; 'code,': 0.22; 'install': 0.23; 'error': 0.23; 'second': 0.26; 'downloaded': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'point': 0.28; '(c)': 0.29; '2009': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'correctly.': 0.31; 'anyone': 0.31; 'file': 0.32; 'probably': 0.32; 'run': 0.32; 'open': 0.33; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'should': 0.36; 'wrong': 0.37; 'thank': 0.38; 'problems': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'does': 0.39; 'guidance': 0.39; 'to:addr:python.org': 0.39; 'tell': 0.60; 'mentioned': 0.61; "you're": 0.61; 'such': 0.63; 'telling': 0.64; 'direct': 0.67; 'latest': 0.67; 'reserved.': 0.68; 'beautiful': 0.68; 'book.': 0.68; 'prompt': 0.68; '3.4': 0.84; 'missing.': 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=711D/c6fysqZrTACBrZRcFwMig1Cc9ZpUrXdWiUzrGc=; b=CqzE0K0QQ784bVUXAfEcmGowqpaA3+mKdl63Ye3NAlyLXmuWKbBriteB43pCAu90qf IYtHaEqRy9tB3J70AtX5tcWPXcbPz6dSq7Q9hg5LAtJGVaI+vbpf8ZPPFEZeHZJVfu1E SS5AYdQGn3qIgSeZtndj6tEU3Gkx34Nc5Q34LrhgzzRe/qv7h6PYi8rVwt1i5aO8wYvN sX4IbCxdSG7uybJtxzVTiXUm2UFcvlTLgaP3Kl1nHWScD10aFbtGwpmFe/ToPowywXws NWrIi4Yep5+sl1f7rUBQF+4A3di9LoIs8r2BcRfyCUCnGlkobhZMNab9a+mKru5mUR1M HLFg== X-Received: by 10.67.13.134 with SMTP id ey6mr48906757pad.44.1399852078442; Sun, 11 May 2014 16:47:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <7b33a525-58ee-4009-94c4-f9ed69eb3af0@googlegroups.com> 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: Sun, 11 May 2014 17:47:17 -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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399852081 news.xs4all.nl 2898 [2001:888:2000:d::a6]:53738 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71353 On Sun, May 11, 2014 at 5:19 PM, Simon Evans wrote: > Yeah well at no point does the book say to start inputting the code mentioned in Python command prompt rather than the Windows command prompt, but thank you for your guidance anyway. > I have downloaded the latest version of Beautiful Soup 4, but am again facing problems with the second line of code, re:- > ------------------------------------------------------------------------------- > 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 > c:\Python27\python: can't open file 'setup.py': [Errno 2] No such file or direct > ory > -------------------------------------------------------------------------------- > though that was the code I used before which installed okay see above). Can anyone tell me where I am going wrong ? Thanks. The error message is telling you that the file setup.py that you're trying to run is missing. That would seem to indicate that Beautiful Soup hasn't been downloaded or unzipped correctly. What do you have in the Beautiful Soup directory? Also, use Python 3.4 as Terry Reedy suggested, unless the book is using 2.7 in which case you should probably use the same version as the book.