Python Forum
Old Python-version used by IDLE
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Old Python-version used by IDLE
#1
Help please:
When I installed Python on my Raspian stretch, Python 3.5.3. was the most actual version. After starting IDLE it shows " Python 3.5.3 (/usr/bin/python3)" in the shell window.
I have now installed the new Python 3.7.3. version, but IDLE still uses the old Python-version.
Can I change this some how, because I need f""-strings?
Any help is welcome, Gerd
Reply
#2
How do you start idle? Try
python -m idlelib
Reply
#3
(Apr-12-2019, 10:25 PM)GeNoS Wrote: I have now installed the new Python 3.7.3. version, but IDLE still uses the old Python-version.
From command line python3 -V and pip3 -V,see if point to 3.7.
Look at this post to use alias so that python -V point to 3.7.
Can aslo look at my tutorial here pyenv Simple Python Version Management .
Reply
#4
could try this
https://stackoverflow.com/questions/3998...dle-to-3-5
Recommended Tutorials:
Reply
#5
(Apr-13-2019, 12:20 AM)snippsat Wrote:
(Apr-12-2019, 10:25 PM)GeNoS Wrote: I have now installed the new Python 3.7.3. version, but IDLE still uses the old Python-version.
From command line python3 -V and pip3 -V,see if point to 3.7.
Look at this post to use alias so that python -V point to 3.7.
Hello snippsat,
I tried both commands:
pi@raspberrypi:~ $ python3 -V
Python 3.7.3
pi@raspberrypi:~ $ pip3 -V
pip 19.0.3 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
They both look ok to me.
I will look at your tutorial next.
Reply
#6
Yes it looks okay,the IDLE should start with:
python3 -m idlelib
Or look at a better REPL shell ipython or ptpython,not many like IDLE.
Editor VS Code from start,also look at Mu which is popular to use with Raspberry-Pi.
Reply
#7
Thanks snippsat,
I just tried pyenv but I see no possibility to install Thonny too.
Because i'm a newbie I use the windows version and start all application by the menu.
"python3 -m idlelib" started indeed IDLE with Python 3.7.3 but from the application menu it still starts 3.5.3 (the old version). Is there no place where I can tell IDLE which Python to start. It seems to me a very simple thing to do.
Regards, Gerd
Reply
#8
Quote:from the application menu it still starts 3.5.3
There must be some way to configure the applications menu. It is not a question about python. Find how to add an entry in the applications menu.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Query on choosing Python 3.8.6 version sureshnagarajan 0 1,805 Feb-16-2021, 05:30 AM
Last Post: sureshnagarajan
  Which Python Version? muzikman 15 5,182 Jan-19-2021, 02:16 PM
Last Post: muzikman
  Python/winrt support for python 3.8 version pbvinoth 2 3,699 Jul-08-2020, 02:03 PM
Last Post: snippsat
  Issue with 2 version of python (2.6.6 and 2.7) with pip himupant94 2 3,233 Apr-24-2020, 03:23 AM
Last Post: himupant94
  VS-Code or PyCharm Vs IDLE For Python Coding adt 14 10,260 Sep-01-2019, 05:17 AM
Last Post: adt
  Python IDLE intellisense not working on MacPro ? Devarishi 7 3,655 Jun-21-2019, 11:36 AM
Last Post: snippsat
  Default python version on Windows (3.6.x vs 3.6.y) gramakri 1 2,457 May-04-2019, 10:36 PM
Last Post: snippsat
  Trouble installing a old version of python - 3.4.1 alex8obrien 2 2,782 Apr-09-2019, 06:28 AM
Last Post: alex8obrien
  a special version of the python command Skaperen 6 4,144 Apr-06-2019, 02:25 PM
Last Post: Gribouillis
  Distributing custom version of Python touc82 1 2,093 Mar-23-2019, 03:23 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020