Path: csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'subject:error': 0.03; 'pypi': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'language,': 0.12; 'question.': 0.14; "'setuptools'": 0.16; 'backwards': 0.16; 'ecosystem': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'identifiers': 0.16; 'ought': 0.16; 'subject:graphics': 0.16; 'subject:import': 0.16; 'subject:library': 0.16; 'language': 0.16; 'wrote:': 0.18; 'library': 0.18; "skip:' 30": 0.19; 'things.': 0.19; 'not,': 0.20; 'seems': 0.21; 'memory': 0.22; 'manual': 0.22; 'cc:addr:python.org': 0.22; 'library,': 0.24; 'of.': 0.24; 'mon,': 0.24; 'versions': 0.24; 'cc:2**0': 0.24; 'first,': 0.26; 'downloaded': 0.26; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'leave': 0.29; 'primarily': 0.30; 'said,': 0.30; 'message- id:@mail.gmail.com': 0.30; 'work.': 0.31; "skip:' 10": 0.31; 'too.': 0.31; 'there.': 0.32; 'languages': 0.32; 'not.': 0.33; 'actual': 0.34; 'there,': 0.34; "can't": 0.35; 'no,': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'in.': 0.36; 'installing': 0.36; 'done': 0.36; 'should': 0.36; 'level': 0.37; 'nov': 0.38; 'issue': 0.38; 'pm,': 0.38; 'how': 0.40; 'most': 0.60; 'entire': 0.61; 'simple': 0.61; "you're": 0.61; 'high': 0.63; 'taking': 0.65; 'management': 0.65; '(that': 0.65; 'judge': 0.68; 'technology,': 0.70; '(always': 0.84; 'packing': 0.84; 'serious.': 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; bh=SCotzS1es5TEgypNmuCzfCmt/5gyy9azLuT1jQuS/SM=; b=GHJLnGOoUyneiEhvAcKR25Qgm7iLfsWZFeyNzzQav6+ZEIdW28J6kU3d0P5TA9kB2f NELAIsaOchkSsYa9IVQEBjrRWaLPlJv5I3BJ8RQIFg82AxleUzRCNMMCwKzYztKuXSzL YOEVqTKgCopAAUDjPZYuOJ5C01uzGmo9GWMsFq4cGP7kJxHi9wqnmJnzx0aTWB6ELBJd uEe6MKe9HfjDHjmDXrPW5m1zmWcyvJNwJnSVQV34qQUrNPbAaEcz0rFCxgkLCdJKvynq XThL/WPEFMrp/kO9Mqv5VTcaPwM9sAuXjUqLZ2Eq1kpUC9kYlu+NeX9Sw0dUDjw0twW8 BQ3A== MIME-Version: 1.0 X-Received: by 10.107.134.39 with SMTP id i39mr5669445iod.53.1416193915136; Sun, 16 Nov 2014 19:11:55 -0800 (PST) In-Reply-To: <0925b45d-aa27-472c-af81-f1594ee17ead@googlegroups.com> References: <0925b45d-aa27-472c-af81-f1594ee17ead@googlegroups.com> Date: Mon, 17 Nov 2014 14:11:55 +1100 Subject: Re: import graphics library; causes error From: Chris Angelico Cc: "python-list@python.org" 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416193923 news.xs4all.nl 2851 [2001:888:2000:d::a6]:51918 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 5495 X-Received-Body-CRC: 2080902161 Xref: csiph.com comp.lang.python:80958 On Mon, Nov 17, 2014 at 2:03 PM, ryguy7272 wrote: > Well, that's a damn good question. I thought, by defailt, everything was downloaded to this folder: > 'C:\Python27\Lib\site-packages' > > In there, I have all kinds of things like: > 'setuptools-6.1.dist-info', 'pip-1.5.6.dist-info', etc. > All kinds of other things too. > > It seems there is always a copy, so I cut/paste the folders named 'setuptools' & 'pip' (always taking off the versions and identifiers and the like...). Then I cut/paste everything into this folder: > 'C:\Python27\Lib' > > Is that how it's done or not? Most definitely not. That is not how you should go about installing things. You're packing everything into the standard library, certain to cause a mess. Just leave them in site-packages - they ought to be importable from there. If they're not, you most likely have one very simple configuration issue to fix, and then everything will just work. > Python is by far the most backwards type of technology that I can think of. Using it is completely counter-productive. I can't take it serious. > You're blaming Python for your poor use of it. Python, as a technology, is not the cause of your issues. Get to know the language and its standard library first, then move on to learning about the entire ecosystem of PyPI packages; base your opinion of Python primarily on the language, not on what people do with it. Do you judge C on the basis of the IOCCC? No, you judge it on the basis of manual memory management and segfaults. (That said, I do like C... as a language for writing high level languages in. I try to avoid writing actual C code.) ChrisA