Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #42648 > unrolled thread

Make python 3.3 the default one and not 2.7

Started by"D. Xenakis" <gouzounakis@hotmail.com>
First post2013-04-03 01:44 -0700
Last post2013-04-03 12:44 -0700
Articles 10 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  Make python 3.3 the default one and not 2.7 "D. Xenakis" <gouzounakis@hotmail.com> - 2013-04-03 01:44 -0700
    Re: Make python 3.3 the default one and not 2.7 Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2013-04-03 09:43 +0000
      Re: Make python 3.3 the default one and not 2.7 "D. Xenakis" <gouzounakis@hotmail.com> - 2013-04-03 07:19 -0700
        Re: Make python 3.3 the default one and not 2.7 Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2013-04-03 14:36 +0000
      Re: Make python 3.3 the default one and not 2.7 "D. Xenakis" <gouzounakis@hotmail.com> - 2013-04-03 07:19 -0700
    Re: Make python 3.3 the default one and not 2.7 Dave Angel <davea@davea.name> - 2013-04-03 06:24 -0400
      Re: Make python 3.3 the default one and not 2.7 "D. Xenakis" <gouzounakis@hotmail.com> - 2013-04-03 06:23 -0700
      Re: Make python 3.3 the default one and not 2.7 "D. Xenakis" <gouzounakis@hotmail.com> - 2013-04-03 06:23 -0700
    Re: Make python 3.3 the default one and not 2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-03 13:19 +0100
    Re: Make python 3.3 the default one and not 2.7 "D. Xenakis" <gouzounakis@hotmail.com> - 2013-04-03 12:44 -0700

#42648 — Make python 3.3 the default one and not 2.7

From"D. Xenakis" <gouzounakis@hotmail.com>
Date2013-04-03 01:44 -0700
SubjectMake python 3.3 the default one and not 2.7
Message-ID<bcf376b4-4653-466a-ba8b-26a5cbc70971@googlegroups.com>
Hi there, i installed python 2.7 (windows 32bit version) from http://www.enthought.com/products/epd_free.php and after that i installed official  3.3 version too. So now i got two python folders like this.. c:/Python27 and c:/Python33 . 
My problem is that when im trying to execute a .py file, the 2.7 version interpreter launces. In addition if i right click and select Edit with IDLE, again version 2.7 interpreter opens. How can i make python 3.3 the default one, as i need this cause i have PyQt4 installed there and so it does not work with 2.7 .
Thx in advance.

[toc] | [next] | [standalone]


#42649

FromWolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Date2013-04-03 09:43 +0000
Message-ID<mailman.44.1364982246.3114.python-list@python.org>
In reply to#42648
D. Xenakis <gouzounakis <at> hotmail.com> writes:

> 
> Hi there, i installed python 2.7 (windows 32bit version) from
> http://www.enthought.com/products/epd_free.php and after that i installed
official  3.3 version
> too. So now i got two python folders like this.. c:/Python27 and c:/Python33 . 
> My problem is that when im trying to execute a .py file, the 2.7 version
interpreter launces. In addition if i
> right click and select Edit with IDLE, again version 2.7 interpreter opens.
How can i make python 3.3 the
> default one, as i need this cause i have PyQt4 installed there and so it does
not work with 2.7 .
> Thx in advance.
> 

Check out the post at
http://stackoverflow.com/questions/4664646/how-to-change-default-python-version-on-windows-xp
.
Especially the part about changing the registry. The Python.File entry mentioned
there also has the information about the IDLE version to use.
Best,
Wolfgang

[toc] | [prev] | [next] | [standalone]


#42671

From"D. Xenakis" <gouzounakis@hotmail.com>
Date2013-04-03 07:19 -0700
Message-ID<c8ad419d-14a7-4eb6-b048-e39faa1d00ad@googlegroups.com>
In reply to#42649
Τη Τετάρτη, 3 Απριλίου 2013 12:43:43 μ.μ. UTC+3, ο χρήστης Wolfgang Maier έγραψε:
> D. Xenakis <gouzounakis <at> hotmail.com> writes:
> 
> 
> 
> > 
> 
> > Hi there, i installed python 2.7 (windows 32bit version) from
> 
> > http://www.enthought.com/products/epd_free.php and after that i installed
> 
> official  3.3 version
> 
> > too. So now i got two python folders like this.. c:/Python27 and c:/Python33 . 
> 
> > My problem is that when im trying to execute a .py file, the 2.7 version
> 
> interpreter launces. In addition if i
> 
> > right click and select Edit with IDLE, again version 2.7 interpreter opens.
> 
> How can i make python 3.3 the
> 
> > default one, as i need this cause i have PyQt4 installed there and so it does
> 
> not work with 2.7 .
> 
> > Thx in advance.
> 
> > 
> 
> 
> 
> Check out the post at
> 
> http://stackoverflow.com/questions/4664646/how-to-change-default-python-version-on-windows-xp
> 
> .
> 
> Especially the part about changing the registry. The Python.File entry mentioned
> 
> there also has the information about the IDLE version to use.
> 
> Best,
> 
> Wolfgang

I changed this too Python.CompiledFile to my 33 version.
Should i not touch this key?

[toc] | [prev] | [next] | [standalone]


#42674

FromWolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Date2013-04-03 14:36 +0000
Message-ID<mailman.63.1364999793.3114.python-list@python.org>
In reply to#42671
D. Xenakis <gouzounakis <at> hotmail.com> writes:
 
> > The Python.File entry mentioned
> > there also has the information about the IDLE version to use.
> > 
> > Best,
> > 
> > Wolfgang
> 
> I changed this too Python.CompiledFile to my 33 version.
> Should i not touch this key?

The [.CompiledFile\shell\open\command] sets the python version used
for running pre-compiled .pyc files.
Likewise, [.NoConFile\shell\open\command] sets it for .pyw files
(intended to be run not from a console window - hence the name of the
entry).
Usually, you will want to have all of them point to the same Python
version.

Best,
Wolfgang

[toc] | [prev] | [next] | [standalone]


#42672

From"D. Xenakis" <gouzounakis@hotmail.com>
Date2013-04-03 07:19 -0700
Message-ID<mailman.61.1364998761.3114.python-list@python.org>
In reply to#42649
Τη Τετάρτη, 3 Απριλίου 2013 12:43:43 μ.μ. UTC+3, ο χρήστης Wolfgang Maier έγραψε:
> D. Xenakis <gouzounakis <at> hotmail.com> writes:
> 
> 
> 
> > 
> 
> > Hi there, i installed python 2.7 (windows 32bit version) from
> 
> > http://www.enthought.com/products/epd_free.php and after that i installed
> 
> official  3.3 version
> 
> > too. So now i got two python folders like this.. c:/Python27 and c:/Python33 . 
> 
> > My problem is that when im trying to execute a .py file, the 2.7 version
> 
> interpreter launces. In addition if i
> 
> > right click and select Edit with IDLE, again version 2.7 interpreter opens.
> 
> How can i make python 3.3 the
> 
> > default one, as i need this cause i have PyQt4 installed there and so it does
> 
> not work with 2.7 .
> 
> > Thx in advance.
> 
> > 
> 
> 
> 
> Check out the post at
> 
> http://stackoverflow.com/questions/4664646/how-to-change-default-python-version-on-windows-xp
> 
> .
> 
> Especially the part about changing the registry. The Python.File entry mentioned
> 
> there also has the information about the IDLE version to use.
> 
> Best,
> 
> Wolfgang

I changed this too Python.CompiledFile to my 33 version.
Should i not touch this key?

[toc] | [prev] | [next] | [standalone]


#42651

FromDave Angel <davea@davea.name>
Date2013-04-03 06:24 -0400
Message-ID<mailman.46.1364984697.3114.python-list@python.org>
In reply to#42648
On 04/03/2013 04:44 AM, D. Xenakis wrote:
> Hi there, i installed python 2.7 (windows 32bit version) from http://www.enthought.com/products/epd_free.php and after that i installed official  3.3 version too. So now i got two python folders like this.. c:/Python27 and c:/Python33 .
> My problem is that when im trying to execute a .py file, the 2.7 version interpreter launces. In addition if i right click and select Edit with IDLE, again version 2.7 interpreter opens. How can i make python 3.3 the default one, as i need this cause i have PyQt4 installed there and so it does not work with 2.7 .
> Thx in advance.
>

That was one of the choices you were presented with during the install. 
  It defaults to making the newly installed one the default, but there 
was a checkbox or something.  (It's been years since I did a Windows 
install, so I don't really remember)

Anyway, if Wolfgang's link doesn't do it for you, consider re-installing 
3.3.  It should just go on top of the existing one, and the only change 
should be that it would then become the default one.

-- 
DaveA

[toc] | [prev] | [next] | [standalone]


#42661

From"D. Xenakis" <gouzounakis@hotmail.com>
Date2013-04-03 06:23 -0700
Message-ID<110af028-2d33-4120-823e-9c27bdfafeee@googlegroups.com>
In reply to#42651
I tried to reinstall python 3.3 but there was not change :(.
I selected to run all component from my PC.
I'll give it a try with those registries.

[toc] | [prev] | [next] | [standalone]


#42662

From"D. Xenakis" <gouzounakis@hotmail.com>
Date2013-04-03 06:23 -0700
Message-ID<mailman.53.1364995435.3114.python-list@python.org>
In reply to#42651
I tried to reinstall python 3.3 but there was not change :(.
I selected to run all component from my PC.
I'll give it a try with those registries.

[toc] | [prev] | [next] | [standalone]


#42658

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-04-03 13:19 +0100
Message-ID<mailman.52.1364991557.3114.python-list@python.org>
In reply to#42648
On 03/04/2013 09:44, D. Xenakis wrote:
> Hi there, i installed python 2.7 (windows 32bit version) from http://www.enthought.com/products/epd_free.php and after that i installed official  3.3 version too. So now i got two python folders like this.. c:/Python27 and c:/Python33 .
> My problem is that when im trying to execute a .py file, the 2.7 version interpreter launces. In addition if i right click and select Edit with IDLE, again version 2.7 interpreter opens. How can i make python 3.3 the default one, as i need this cause i have PyQt4 installed there and so it does not work with 2.7 .
> Thx in advance.
>

Not quite answering your question but are you aware of 
http://docs.python.org/3/using/windows.html#launcher ?

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#42699

From"D. Xenakis" <gouzounakis@hotmail.com>
Date2013-04-03 12:44 -0700
Message-ID<d94984af-79b8-4c9d-bc6d-f1ee13c97fe3@googlegroups.com>
In reply to#42648
thx solved

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web