Python Forum
Thread Rating:
  • 4 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Geany configuration help
#2
Your Geany IDE is using the wrong python interpreter.

In Geany go to Build -> Set Build Commands -> Change command
For my execute command is python3 "%f" where python3 means my python3.6.1 installation. Not sure about windows difference though. Im on linux.

Alternatively you can go to Geany's config file in linux path is/usr/share/geany/filetypes.python. I have no idea what the path is in windows. But you can edit and save there as well for regarding the build section...
...
[build-menu]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
FT_00_LB=_Compile
FT_00_CM=python3 -m py_compile "%f"
FT_00_WD=
FT_02_LB=_Lint
FT_02_CM=pep8 --max-line-length=80 "%f"
FT_02_WD=
error_regex=(.+):([0-9]+):([0-9]+)
EX_00_LB=_Execute
EX_00_CM=python3 "%f"
EX_00_WD=
Recommended Tutorials:
Reply


Messages In This Thread
Geany configuration help - by mlytle0 - Sep-03-2017, 10:50 PM
RE: Geany configuration help - by metulburr - Sep-04-2017, 02:33 AM
RE: Geany configuration help - by mlytle0 - Sep-04-2017, 03:44 AM
RE: Geany configuration help - by metulburr - Sep-04-2017, 04:08 AM
RE: Geany configuration help - by mlytle0 - Sep-04-2017, 04:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python modules for accessing the configuration of relevant paths Imago 1 1,478 May-07-2022, 07:28 PM
Last Post: Larz60+
Exclamation "System cannot find path specified"(Geany) kiwi99 2 3,989 Mar-18-2021, 07:37 PM
Last Post: kiwi99
  INI Configuration GUI goofygoo 4 4,674 Jul-19-2020, 08:47 PM
Last Post: goofygoo
  len() function, numbers doesn't work with Geany Editor Penguin827 3 3,087 May-08-2020, 04:08 AM
Last Post: buran
  Read Yaml configuration file in Python binhduonggttn 1 2,140 Feb-11-2020, 05:43 AM
Last Post: ndc85430
  Geany Configuration twallace51 0 4,579 Apr-21-2019, 02:20 PM
Last Post: twallace51
  Beginner Help - Geany and Cmder Pogosaur 2 3,275 Oct-09-2018, 02:15 PM
Last Post: Pogosaur
  Geany editor Mike429W 2 3,804 Sep-20-2018, 09:46 AM
Last Post: Mike429W
  help to execute a py code and good configuration andrebo 2 2,699 Sep-11-2018, 01:00 PM
Last Post: snippsat
  len() function doesn't work with Geany Editor hudabaig 2 3,655 Jun-01-2018, 11:20 PM
Last Post: wavic

Forum Jump:

User Panel Messages

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