Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'forgive': 0.05; 'subject:Python': 0.06; 'allison': 0.09; 'subject:2.7': 0.09; 'suppress': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'windows': 0.15; '*this*': 0.16; 'argument.': 0.16; 'configuring': 0.16; 'folder,': 0.16; 'folder.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'shortcut': 0.16; 'tool.': 0.16; 'uninstall': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'trying': 0.19; 'passing': 0.19; 'cc:addr:python.org': 0.22; 'install': 0.23; 'script.': 0.24; 'server.': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'installed': 0.27; 'appreciated.': 0.29; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'along': 0.30; 'gives': 0.31; 'view.': 0.31; 'file': 0.32; 'probably': 0.32; 'run': 0.32; 'open': 0.33; 'subject:from': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'installing': 0.36; 'so,': 0.37; 'system,': 0.38; 'server': 0.38; 'easiest': 0.38; 'anything': 0.39; 'guidance': 0.39; 'sure': 0.39; 'users': 0.40; 'easy': 0.60; 'new': 0.61; 'simply': 0.61; 'name': 0.63; 'within': 0.65; 'lose': 0.68; '2.7.': 0.84; '3.4': 0.84; 'ready,': 0.84; 'opens': 0.91; '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=+1wREelRkrtNW2reE9hGDZ6gGXGMl1SfpTcROcF5RQI=; b=Ze8vt+BJIRbqY8usB5GNMTvIhSQEFAJp+NHitVd05keLcgknNpSToBOGgWHJrjTyjd fYpH4MGPPy/ONtzoxybVhIxWVLFOF4/BiT83qFlfzz5BehF1LRqt3lenXXcL85WCSOWs DS0glKw4x5XKzDgu8u8Fs4PPuS6FjED80oDzBqJINRlhA7y2u/yx1C6uIpkaLTumfhgH Yuy/XW2etlAy1QXTvPnd/240Ekv1IcLx3YLLEjy/3ZSJjRSvoHEEElXT3Gwit4hoCz/d +GRi0uKBpxeEBiGMR7qoy+et+poa4grnagQgm0PBr4blAmOrVIsphAw+aHxkhA6qSt4c Jrxw== MIME-Version: 1.0 X-Received: by 10.58.246.132 with SMTP id xw4mr41063805vec.2.1401843580185; Tue, 03 Jun 2014 17:59:40 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Jun 2014 10:59:40 +1000 Subject: Re: Upgrading from Python verison 2.7 to 3.4.1 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401843582 news.xs4all.nl 2911 [2001:888:2000:d::a6]:46702 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72565 On Wed, Jun 4, 2014 at 5:43 AM, Skafec, Allison wrote: > Please forgive me, as I am new to installing and configuring Python. I am a > server administrator trying to install a new version of Python on a server. > We currently have Python version 2.7 installed (located at C:/Python27), > along with Python (x,y) and using Spyder2 to view. I have installed Python > version 3.4.1 (located at C:/Python34) and also have Spyder installed within > this folder. I open Spyder through the Python34 folder, but it still opens > Python version 2.7. I cannot seem to get it to open version 3.4.1. We do not > want to uninstall Python 2.7 until we have Python 3.4 ready, as we do not > want users to lose the use of the tool. Any guidance is greatly appreciated. When you say "open Spyder through the Python34 folder", do you mean you double-click on a file and use its Windows associations? If so, the solution may be (depending on your setup) very easy - just make sure Spyder has a shebang at the top.and it'll be invoked with the right version of Python. Alternatively, simply create a shortcut to C:/Python34/python.exe (or pythonw.exe, to suppress the console - this is what a .pyw file will be associated with), passing it the name of the Spyder file as an argument. That's probably the easiest solution - it doesn't interfere with anything else on the system, doesn't change associations, just gives you a way to run *this* Python and *that* script. ChrisA