Python install frustration on linux

I am a windows microsoft guy and do not understand Linux, Is there an easy way to install python in a Bookworm OS?

Python comes with the standard Bookworm OS. If you want to try on your Windows PC, set up a virtual environment and load the linux OS. You can get all this from MS.

Curt

Hello Curt, So where is it in the Bookworm OS i cannot see it in the GUI? (Grapical User Interface)

Hi @Peter293256

In a command terminal if you run the below command it will display the version of python that is installed.

python3 --version

Python runs in the background so it won’t show up as an executable in Linux.

1 Like

Python 3.11.2 I just need a way to have it on the GUI, otherwise it is not much point have the 20 pin’s on a PC. so it’s the Raspberry PI

Hi @Peter293256

I’m not sure if I understand what it is you’re looking to do. Python as an install isn’t something that can really be “displayed”, Python code can be edited in an IDE like Thonny or VScode.

Well there’s so much i have to learn with Raspberry pi and Linux as i am following the Book that comes with the starter kit. So i have been though Scratch3 and now i am up to Python, So from there i may look into a Pico.
Oh sure just use a Windows Laptop and Load Python on it, too easy!! Also i like to use the 20 Pins that’s on the Pi too.

2 Likes

Hey @Peter293256

When you run python on windows are you using IDLE?
IDLE is the python editor that comes with the default windows python installer.

If you are used to IDLE you can install it from the terminal :slight_smile:

sudo apt update && sudo apt install idle3

IDLE is a good space for running simple python scripts.
Linux has a preinstalled equivalent called thorny which you might like.
Similar features and plenty of tutorials online.

Hi Pixmusix, i have already have IDLE on the pi

1 Like

In that case can you explain what you mean by “Is there an easy way to install python in a Bookworm OS?” When you enter and execute a python script using IDLE is there an error of some sort?

1 Like

Apon the installation of what i thought was Python, i only have got as far as IDLE in the Programmers list GUI. Could i think that Python is there as other aps that use Python?

I think that you have confirmed above that you can get the python version (3.11.2), so that proves python is installed. What happens if you start IDLE and you type a line of code and hit Enter? Or what happens if you create a new file in IDLE, enter a script and select Run?

None of the responses I’ve seen are likely to be helpful. You didn’t say you wanted a GUI

You will have Python installed and most likely need to get up to speed on connecting via ssh to do things at the command line level. Any more info at this point will just be confusing.

Yeah i am a windows user and yet to learn Linux, so yes i do need to know Command line strings so that is how i got IDLE as i can execute that on the window GUI, not at a command line

If you installed IDLE then it should appear as a menu item under the ‘Programming’ tab. That will open the IDLE GUI.

Correct Jeff, and i can have that done, but no Python :cry:

So I think that means you can open IDLE in GUI mode. What happens if you then type a line of code and hit Enter? Or what happens if you create a new file in IDLE, enter a script and select Run? Is there an error message, or does it just do something that you didn’t expect?

Haven got to that yet Jeff

OK. Then why do you suspect that you need to install Python?

Because i cannot find it in the Programming in the GUI window, now i know it in there but not in the window GUI