Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.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; 'from:addr:yahoo.co.uk': 0.04; 'importerror:': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'reinstall': 0.09; 'python': 0.11; 'language.': 0.14; 'windows': 0.15; '__init__.py': 0.16; 'exists,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:[ 30': 0.16; 'sys.path': 0.16; 'language': 0.16; 'wrote:': 0.18; 'module': 0.19; "skip:' 30": 0.19; 'work,': 0.20; '>>>': 0.22; 'import': 0.22; 'header :User-Agent:1': 0.23; '---': 0.24; "i've": 0.25; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; '"",': 0.31; "skip:' 40": 0.31; 'writes:': 0.31; 'file': 0.32; 'supposed': 0.32; '(most': 0.33; 'not.': 0.33; 'maybe': 0.34; "can't": 0.35; 'knows': 0.35; 'problem.': 0.35; 'there': 0.35; 'to:addr:python-list': 0.38; 'anything': 0.39; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'ian': 0.60; 'upgrading': 0.60; 'free': 0.61; 'viruses': 0.61; 'john': 0.61; 'email addr:gmail.com': 0.63; 'protection': 0.63; 'our': 0.64; '20,': 0.68; 'antivirus': 0.68; 'bothered': 0.68; 'received:2': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Putting Py 3.4.1 to work. Date: Tue, 20 May 2014 19:13:45 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-204-139.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-Antivirus: avast! (VPS 140520-0, 20/05/2014), Outbound message X-Antivirus-Status: Clean 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: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1400609639 news.xs4all.nl 2891 [2001:888:2000:d::a6]:45026 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71823 On 20/05/2014 18:38, Ian Kelly wrote: > On Tue, May 20, 2014 at 11:14 AM, John Gordon wrote: >> In wxjmfauth@gmail.com writes: >> >>> sys.path >>> ['D:\\jm\\jmpy\\smid\\smid50beta1', 'C:\\Windows\\system32\\python34.zip', >>> 'C:\\Python34\\DLLs\\DLLs', 'C:\\Python34\\DLLs\\lib', 'C:\\Python34\\DLLs', >>> 'C:\\Python34\\DLLs\\lib\\site-packages', 'C:\\Python34\\Lib\\site-packages\\PySide'] >>>>>> --- >>> import PySide >>> Traceback (most recent call last): >>> File "", line 1, in >>> ImportError: No module named 'PySide' >> >> Is there a file named __init__.py in the PySide directory? >> Did 'import PySide' used to work on Python 3.4.0? >> > > Or maybe some .pth file got clobbered. > > I always reinstall packages after upgrading Python on Windows. I > don't know whether the scenario of reinstalling Python on top of an > existing site-packages directory is supposed to work or not. > I've never bothered to reinstall packages after upgrading Python on Windows and I've never had a problem. I can't see how Python can do anything with site-packages as it knows nothing about it, other than that it exists, so it strikes me that it has to work, or am I missing something? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com