I've been writing Python code on Ras pi 4B for a while now. This morning i thought i'd giver Geany a try.
I opened the Geany IDE and to my surprise all the Python files from the last Thonny session were already open. I selected a program I have used several times and selected "Build->Execute I got a separate command line window with the following message:
To be clear, from Thonny this program works fine. I assume there are environmental variables that need to be set. I looked through the "help" file "Getting Started" but nothing jumped out at me. I understand that since Python is an interpreted language the "Build->compile" commands are not appropriate since there is nothing to compile. The help file did clarify that Python is one of the languages support by Geany. The code line flagged is the third line of actual codes below the initial comments block.
I opened the Geany IDE and to my surprise all the Python files from the last Thonny session were already open. I selected a program I have used several times and selected "Build->Execute I got a separate command line window with the following message:
Code:
/home/pi/.profile: line 29: pyenv: command not foundTraceback (most recent call last): File "FileName.py", line 14, in <module> import tkinter as tkImportError: No module named tkinter------------------(program exited with code: 1)Press return to continue
Statistics: Posted by ras_oscar — Fri Jun 20, 2025 1:27 am