Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; '16,': 0.03; 'interpreter': 0.05; 'installed.': 0.07; 'tool,': 0.07; 'imply': 0.09; 'typed': 0.09; 'python': 0.11; 'cmd': 0.16; 'command-line': 0.16; 'easy_install': 0.16; 'exist;': 0.16; 'for,': 0.16; 'pypi.': 0.16; 'subject:graphics': 0.16; 'subject:import': 0.16; 'subject:library': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; 'library': 0.18; 'starts': 0.20; 'seems': 0.21; 'command': 0.22; '(in': 0.22; 'separate': 0.22; 'install': 0.23; 'script.': 0.24; 'tend': 0.24; 'this:': 0.26; 'web.': 0.26; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "skip:' 10": 0.31; 'probably': 0.32; 'run': 0.32; 'open': 0.33; 'running': 0.33; 'possible.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; "didn't": 0.36; 'so,': 0.37; 'two': 0.37; 'nov': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'does': 0.39; 'itself': 0.39; 'realize': 0.39; 'to:addr:python.org': 0.39; 'first': 0.61; 'refer': 0.63; 'management': 0.65; 'believe': 0.68; "'graphics'": 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=3984xnhLKlnhRwUPkI0VGLLl2Eyk41TeePYgLZHjiW4=; b=AN6bnAmihNrVWL5vdg2M7m04bOFAoe8on8hb3+2a4qMLG1t3Y/uioKlO+sAQ83rxBb DZ6XviaOnpHU54Dyp9EeFPW+wMVs323V+fOgzufq02eXpO3omwdO3zeHNk8XkOWfXqzZ 3yjoMsQxLU+katmvZ8GdPvk+nxOnJ4XfrIGXc5wMSHCqOHRkvgdWR1IAsF64HEYW+Ao5 UlqSk/Ctpn4LlYvZGswFDkfNbfXen5t7yUXigv99rgvTLIxIpXXVZU69S8TVp/7Gbyou LANtahBP+RaDY91YFBnvjln0CxOH9wrNPQ/pNI2dxa9LCaPaFH+Zjx4RmOBkOygmbELq 262Q== X-Received: by 10.69.3.65 with SMTP id bu1mr9376771pbd.24.1416209779350; Sun, 16 Nov 2014 23:36:19 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Mon, 17 Nov 2014 00:35:39 -0700 Subject: Re: import graphics library; causes error 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416209789 news.xs4all.nl 2936 [2001:888:2000:d::a6]:50169 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80963 On Sun, Nov 16, 2014 at 1:39 PM, ryguy7272 wrote: > Anyway, I open the cmd window, and typed this: 'easy_install python graphics'. So, it starts up and runs/downloads the appropriate library from the web. I get confirmation (in the cmd window) that it finishes, then I try to run this script. A couple of notes. One is that the state of the art in Python package management is pip, not easy_install. It's still a command-line tool, but I recommend sticking to that if possible. Your command 'easy_install python graphics' attempts to install two separate packages named 'python' and 'graphics'. The first package seems to refer to the Python interpreter itself -- neat, I didn't realize that Python itself was listed in PyPI. But probably not what you were looking for, since running easy_install would tend to imply that Python is already installed. The second page does not seem to exist; there is no package named 'graphics' in PyPI. So I don't know what it is that you believe you installed.