Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80963
| References | <acf29cb8-d11b-4134-8d03-7be5a078eae6@googlegroups.com> |
|---|---|
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | 2014-11-17 00:35 -0700 |
| Subject | Re: import graphics library; causes error |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15949.1416209789.18130.python-list@python.org> (permalink) |
On Sun, Nov 16, 2014 at 1:39 PM, ryguy7272 <ryanshuell@gmail.com> 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.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
import graphics library; causes error ryguy7272 <ryanshuell@gmail.com> - 2014-11-16 12:39 -0800
Re: import graphics library; causes error Terry Reedy <tjreedy@udel.edu> - 2014-11-16 18:09 -0500
Re: import graphics library; causes error ryguy7272 <ryanshuell@gmail.com> - 2014-11-16 19:03 -0800
Re: import graphics library; causes error Chris Angelico <rosuav@gmail.com> - 2014-11-17 14:11 +1100
Re: import graphics library; causes error Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-17 21:24 +1100
Re: import graphics library; causes error Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-17 12:14 +0000
Re: import graphics library; causes error YBM <ybmess@nooos.fr.invalid> - 2014-11-17 13:21 +0100
Re: import graphics library; causes error Ian Kelly <ian.g.kelly@gmail.com> - 2014-11-17 00:35 -0700
csiph-web