Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #71340
| 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 | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'syntax': 0.04; 'argument': 0.05; 'output': 0.05; 'subsequent': 0.05; "subject:' ": 0.07; 'arguments': 0.09; 'indicates': 0.09; 'lines.': 0.09; 'setup.py': 0.09; 'spaces': 0.09; 'subject:2.7': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'windows': 0.15; '"unit': 0.16; 'accepts': 0.16; 'argument,': 0.16; 'argument.': 0.16; 'expecting': 0.16; 'filename,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'helps!': 0.16; 'normally,': 0.16; 'subject: \n ': 0.16; 'subject:access': 0.16; 'syntaxerror:': 0.16; 'transcript': 0.16; 'word),': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'typing': 0.19; 'starts': 0.20; 'help.': 0.21; 'command': 0.22; 'code,': 0.22; 'input': 0.22; 'separate': 0.22; 'tests': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'install': 0.23; '2.x': 0.24; 'instance,': 0.24; 'lets': 0.24; 'logical': 0.24; 'space.': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; 'shown': 0.26; 'this:': 0.26; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; '(c)': 0.29; '2009': 0.29; '[1]': 0.29; 'am,': 0.29; "doesn't": 0.30; 'label': 0.30; 'message-id:@mail.gmail.com': 0.30; '3.x': 0.31; 'default,': 0.31; 'omitted': 0.31; 'quotes': 0.31; 'file': 0.32; 'probably': 0.32; 'everyone': 0.33; 'case,': 0.35; 'one,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'so,': 0.37; 'thank': 0.38; 'handle': 0.38; 'explain': 0.39; 'does': 0.39; '12,': 0.39; "couldn't": 0.39; 'quote': 0.39; 'volume': 0.39; 'space': 0.40; 'easy': 0.60; 'hope': 0.61; 'first': 0.61; 'you.': 0.62; "you've": 0.63; 'name': 0.63; 'more': 0.64; '(that': 0.65; 'between': 0.67; 'reserved.': 0.68; 'invalid': 0.68; 'prompt': 0.68; 'default': 0.69; 'console,': 0.84; 'words).': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=HHLsgUo1Zo4y47ThxSktbH8lp+6wuhA9JXlb2opclis=; b=ZSMAaKiq/fDpifGEZL5r9zS6rWKOpGfOkqjZ6EayU1STZYxCC3OIewWU7hwpgw/AKl DeiTZSAlrAGjsQQFiIZ6tY1xv79d99F+qft/3akz+hcDDRljw+LfUxDMQ0r/X0Jq1Uqn qdkuvfzmZVrbqFtScMsBxOWDSCo4+lrTNYjqSelrI/RDL/Nc6BHITMjucaU+k7Ipselq 17vdEnuUFlwi24fU9fMPN7bBCmAyTxVPVVOA1umKcPQx5tb8mb0sQQ+2+WfxByAsZ6Bl oCjEjoz9oHyEHzu000P7tigARvoUlSM/nVGFK83+9/BpnsSNnU6NRgYTNtszCf4tpJFv 20tg== |
| MIME-Version | 1.0 |
| X-Received | by 10.220.105.130 with SMTP id t2mr19158952vco.18.1399835853785; Sun, 11 May 2014 12:17:33 -0700 (PDT) |
| In-Reply-To | <7a908d5e-1e0e-4828-a3e0-172df735e6c3@googlegroups.com> |
| References | <10313d81-01f2-48ed-951c-a5a6cccee65e@googlegroups.com> <7a908d5e-1e0e-4828-a3e0-172df735e6c3@googlegroups.com> |
| Date | Mon, 12 May 2014 05:17:33 +1000 |
| Subject | Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.9894.1399835856.18130.python-list@python.org> (permalink) |
| Lines | 53 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1399835856 news.xs4all.nl 2836 [2001:888:2000:d::a6]:59097 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:71340 |
Show key headers only | View raw
On Mon, May 12, 2014 at 5:05 AM, Simon Evans <musicalhacksaw@yahoo.co.uk> wrote: > Thank you everyone who replied, for your help. Using the command prompt console, it accepts the first line of code, but doesn't seem to accept the second line. I have altered it a little, but it is not having any of it, I quote my console input and output here, as it can probably explain things better than I :- > -------------------------------------------------------------------------------- Thank you. This sort of transcript does make it very easy to see what's going on! > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > C:\Users\Intel Atom>cd"c:\Beautiful Soup" > The filename, directory name, or volume label syntax is incorrect. Command line syntax is always to put a command first (one word), and then its arguments (zero, one, or more words). You put quotes around a logical word when it has spaces in it. So, for instance, "foo bar" is one logical word. In this case, you omitted the space between the command and its argument, so Windows couldn't handle it. [1] > C:\Users\Intel Atom>cd "c:\Beautiful Soup" And this is correct; you put quotes around the argument, and execute the "cd" command with an argument of "c:\Beautiful Soup". It then works, as is shown by the change of prompt in your subsequent lines. > c:\Beautiful Soup>python setup.py install. > File "setup.py", line 22 > print "Unit tests have failed!" > ^ > SyntaxError: invalid syntax This indicates that you've installed a 3.x version of Python as the default, and setup.py is expecting a 2.x Python. Do you have multiple Pythons installed? Try typing this: c:\Python27\python setup.py install (That will work only if you have Python 2.7 installed into the default location.) Hope that helps! ChrisA [1] Windows lets you be a bit sloppy; for instance, cd\ works without a space between the command and the argument. (AFAIK this is true if and only if the path name starts with a backslash.) But normally, you separate command and argument(s) with a space.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-10 09:58 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Chris Angelico <rosuav@gmail.com> - 2014-05-11 03:03 +1000
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Terry Reedy <tjreedy@udel.edu> - 2014-05-10 14:39 -0400
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Chris Angelico <rosuav@gmail.com> - 2014-05-11 09:23 +1000
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Dave Angel <d@davea.name> - 2014-05-10 22:16 -0400
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-11 12:05 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Chris Angelico <rosuav@gmail.com> - 2014-05-12 05:17 +1000
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-11 13:03 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. MRAB <python@mrabarnett.plus.com> - 2014-05-11 21:19 +0100
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Terry Reedy <tjreedy@udel.edu> - 2014-05-11 16:31 -0400
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-11 15:03 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. MRAB <python@mrabarnett.plus.com> - 2014-05-11 23:10 +0100
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-11 16:19 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-11 16:22 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-11 16:37 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-11 17:47 -0600
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-12 09:35 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-12 12:17 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-12 16:54 -0600
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-13 04:52 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-13 04:59 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-05-13 14:23 +0100
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. MRAB <python@mrabarnett.plus.com> - 2014-05-13 15:48 +0100
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-14 12:28 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-14 13:33 -0600
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Chris Angelico <rosuav@gmail.com> - 2014-05-15 05:36 +1000
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-15 02:22 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-15 04:25 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-15 04:30 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Dave Angel <davea@davea.name> - 2014-05-15 08:12 -0400
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Rustom Mody <rustompmody@gmail.com> - 2014-05-15 05:17 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-13 10:33 -0600
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-14 11:58 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-14 13:30 -0600
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-05-13 20:08 +0100
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-11 18:02 -0600
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-12 09:02 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Terry Reedy <tjreedy@udel.edu> - 2014-05-11 19:49 -0400
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-12 09:17 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Chris Angelico <rosuav@gmail.com> - 2014-05-12 11:40 +1000
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Rustom Mody <rustompmody@gmail.com> - 2014-05-11 19:47 -0700
Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-05-12 09:23 -0700
csiph-web