![]() |
Python3 is installed - but cannot be started - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Installing Software (https://www.linuxliteos.com/forums/forumdisplay.php?fid=18) +--- Thread: Python3 is installed - but cannot be started (/showthread.php?tid=8232) |
Python3 is installed - but cannot be started - Steff260 - 04-07-2022 Hello, I cannot start Python3. The program is not displayed in the main menu. But it is installed for sure. Under /usr/share/applications/ I can find Python among other programs. If I then double click on the Python icon nothing happens - in contrast to other programs displayed there. Unfortunately I had these problems also a long time ago with the program R. Also here I had found no menu entry. However, a folder was created here and I can - if I click through the folders to the "bin" file, then start the program and it runs. Does anyone have any idea how I can get Python running? Re: Python3 is installed - but cannot be started - stevef - 04-07-2022 To start an interactive python 3.8 session, open a terminal by pressing the ctrl alt and t keys together. In the terminal type Code: python3.8 followed by return. When done pressing ctrl+d should put you back to the terminal. Re: Python3 is installed - but cannot be started - robert2019 - 04-07-2022 Hi Steff260, You might wish to use the Python GUI with starting IDLE (interactive development environment). Most probably you had it installed already; if not do: Code: sudo apt-get install idle3 Then; Code: sudo apt-get install python3-pip Enter your password when being asked for it and hit Enter. Once done simply go to Menu > type IDLE in the application finder field and when you see it listed click on it to run. Re: Python3 is installed - but cannot be started - Moltke - 04-08-2022 (04-07-2022, 06:56 PM)stevef link Wrote:To start an interactive python 3.8 session, open a terminal by pressing the ctrl alt and t keys together. In the terminal type Just typing Code: python3 Code: nano my_python_code.py Code: chmod +x my_python_code.py Code: python3 my_python_code.py ![]() The output from the above code is: Code: $ python3 my_python_code.py P.S: There's a very nice thread right here on the forum to get you started: https://www.linuxliteos.com/forums/coding/beginning-with-python/ Also, that user bitsnpcs has some posts on python you might find helpful: https://www.linuxliteos.com/forums/profile/?area=showposts;u=411 Hope this helps! ![]() |