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


Groups > comp.lang.python > #35749

Re: noob can't install python modules/scripts

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@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; 'url:pypi': 0.03; 'importing': 0.04; 'beginner': 0.05; 'error:': 0.05; 'importerror:': 0.05; '&quot;the': 0.07; '64-bit': 0.07; 'pypi': 0.07; 'referring': 0.07; 'python': 0.09; 'friday,': 0.09; 'interpreter,': 0.09; 'subject:modules': 0.09; 'cc:addr:python- list': 0.10; 'subject:python': 0.11; 'dec': 0.15; "(i'm": 0.16; '.py': 0.16; 'easy_install': 0.16; 'ez_setup.py': 0.16; 'setuptools': 0.16; 'started:': 0.16; 'subject:install': 0.16; 'url:setuptools': 0.16; 'urllib': 0.16; 'wrote:': 0.17; 'shell': 0.18; '>>>': 0.18; 'windows': 0.19; 'module': 0.19; 'email addr:gmail.com&gt;': 0.20; 'trying': 0.21; 'import': 0.21; '&gt;&gt;&gt;': 0.22; '(by': 0.22; 'installation': 0.23; 'cc:2**0': 0.23; '&gt;': 0.23; "i've": 0.23; 'seems': 0.23; 'downloaded': 0.24; 'somewhere': 0.24; 'command': 0.24; 'script': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'looks': 0.26; 'wrote': 0.26; 'used,': 0.27; 'to?': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:/': 0.28; 'run': 0.28; "d'aprano": 0.29; 'installed,': 0.29; 'steven': 0.29; 'url:software': 0.29; 'url:mailman': 0.29; '"the': 0.29; 'skip:& 10': 0.29; 'usually': 0.30; 'worked': 0.30; 'folder': 0.30; 'fri,': 0.30; 'error': 0.30; 'december': 0.32; 'url:python': 0.32; 'file': 0.32; 'running': 0.32; 'url:listinfo': 0.32; 'message.': 0.33; 'received:74.125.82': 0.33; 'anywhere': 0.33; 'directory,': 0.33; 'problem': 0.33; 'tutorial': 0.33; 'another': 0.33; 'that,': 0.34; 'skip:b 20': 0.34; 'received:google.com': 0.34; 'thanks': 0.34; 'pm,': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'received:74.125': 0.36; 'url:org': 0.36; 'modules': 0.36; "wasn't": 0.36; 'should': 0.36; 'problems': 0.36; 'correctly': 0.37; 'rather': 0.37; 'subject:: ': 0.38; 'gives': 0.39; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'url:mail': 0.40; 'your': 0.60; 'accounts': 0.63; 'details': 0.63; 'more': 0.63; 'else.': 0.65; 'talking': 0.66; 'clicking': 0.75; 'autodesk': 0.84; 'download?': 0.84; 'joel': 0.91; 'mistake': 0.91; 'to:none': 0.93; 'online,': 0.98
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; bh=PrHkW+hzoJs0JzPl4/15k5m5ymA6omszlrWS5ZTew84=; b=X5Osct33yQi7bd0msd/0CHiSlqvdz1jOqrj+xYnFbbmKlcWh6g2yX7skn+r8/naWO9 zkeJ4aW5vQ6wvrqGs8VWPextePWzo6CrS0dxxBZYIqbAJmQlhjqSq1F9nfW3zRgIUuYg TKtAPtTiqW4QB/Kie5xUUk0NF/gct6k1+kUO0FnWPC3mFyXEMMppD1qmOV1tkDlHZJ58 F6f/bvpamyKh8Iubaly+hR45end2muo63TVTmQnePYnOGFhMVt0qbsf8DFWc1fZ70Tol 9SQcNriDaEe3wxgINeL7MXepBQhQ011a3qEFE+cg1HZmb7Iaah5LEvP/AfF1huGZlQHI Mn7Q==
MIME-Version 1.0
In-Reply-To <e67257a9-9045-476c-8a4b-a7a9cd36a03b@googlegroups.com>
References <4165a2a8-6960-4d6f-a033-07d34b78efcf@googlegroups.com> <50de6da2$0$29967$c3e8da3$5496439d@news.astraweb.com> <e67257a9-9045-476c-8a4b-a7a9cd36a03b@googlegroups.com>
Date Sat, 29 Dec 2012 09:33:59 -0500
Subject Re: noob can't install python modules/scripts
From Joel Goldstick <joel.goldstick@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type multipart/alternative; boundary=f46d04388e1bbb402904d1feab83
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1425.1356791647.29569.python-list@python.org> (permalink)
Lines 173
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1356791647 news.xs4all.nl 6850 [2001:888:2000:d::a6]:50512
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35749

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Dec 28, 2012 at 11:40 PM, lostguru <aznjedi585@gmail.com> wrote:

> On Friday, December 28, 2012 11:12:19 PM UTC-5, Steven D'Aprano wrote:
> > "The website"? There's more than one website on the Internet. Which
> >
> > website are you referring to? What .py script did you download? How did
> >
> > you run it? Details are important!
> >
> sorry about that; I was using the setuptools package from pypi python [
> http://pypi.python.org/pypi/setuptools ]; I downloaded the ez_setup.py
> file from under the 64-bit windows installation section and ran that (by
> double clicking on it, I hope this wasn't another noob mistake lol)
> >
> > It looks like you tried to run the easy_install command from inside the
> >
> > Python interactive interpreter, rather than from your system shell.
> >
> >
> >
> > The system shell (command.com or cmd.exe I guess) will have a $ or %
> sign
> >
> > as the prompt. Python usually has >>> as the prompt, although if you are
> >
> > running ActivePython it may be something else. You need to run the
> >
> > "easy_install BeautifulSoup4" command from the system shell, not Python.
> >
> >
> >
> >
> >
> > Try that, and if there's another error, please copy and paste the exact
> >
> > command you used, and the full error message.
> >
> running easy_install from the command line worked and BeautifulSoup4 seems
> to have installed, thanks for pointing out my mistake
>
> the only problem I have now is that importing beautifulsoup into a .py
> file I wrote generates an error (I'm using ActiveState Komodo Edit 7, is
> there another program you would recommend to a beginner like me?)
>
> trying to run the script gives an import error:
> ImportError: No module named BeautifulSoup
>

You should read the BeautifulSoup tutorial/documentation.  If I remember
correctly you do

from bs4 import BeautifulSoup
Look at this tutorial to get started:
http://www.crummy.com/software/BeautifulSoup/bs4/doc/



> importing other modules like os and urllib that came with the python
> installation work without problems
>
> looking online, all I've found were other accounts talking about a
> beautifulsoup.py that should be in the C:\Python27\Lib\site-packages
> directory, but I've found no such thing from the installation anywhere in
> the Python folder (funnily enough, I did a drive search with Everything and
> found a BeautifulSoup.py in my autodesk maya installation)
>
> am I somewhere near the mark? or am I off completely?
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick

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


Thread

noob can't install python modules/scripts lostguru <aznjedi585@gmail.com> - 2012-12-28 17:45 -0800
  Re: noob can't install python modules/scripts lostguru <aznjedi585@gmail.com> - 2012-12-28 18:36 -0800
  Re: noob can't install python modules/scripts Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-29 04:12 +0000
    Re: noob can't install python modules/scripts lostguru <aznjedi585@gmail.com> - 2012-12-28 20:40 -0800
      Re: noob can't install python modules/scripts Joel Goldstick <joel.goldstick@gmail.com> - 2012-12-29 09:33 -0500
        Re: noob can't install python modules/scripts lostguru <aznjedi585@gmail.com> - 2012-12-29 08:21 -0800
        Re: noob can't install python modules/scripts lostguru <aznjedi585@gmail.com> - 2012-12-29 08:21 -0800
      Re: noob can't install python modules/scripts Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-12-29 16:22 -0500

csiph-web