Menu

#183 Python Executable Under Windows

medit
open
5
2014-12-19
2014-11-06
Igor D.
No

When running python scripts with Shift+F9 under Windows medit uses its local distribution of python.
This doesn't allow me to use my system's distribution and its libs. To do so I had to modify PYTHON_COMMAND in "C:\Program Files (x86)\medit\share\medit-1\python\medit\runpython.py" to be PYTHON_COMMAND = '"C:\Python27\pythonw.exe" -u'
I don't know if this breaks something elsewhere?
Python plugin should have such option, so the user doesn't have to modify medit's files by hand.

Discussion

  • Yevgen Muntyan

    Yevgen Muntyan - 2014-11-06

    Agree, this is not good. Not sure how to fix it though, would an env variable (e.g. MEDIT_PYTHON_COMMAND) work for you?

     
  • Midas

    Midas - 2014-12-19

    I'd recommend this be made into a medit INI file directive/key, as is customary in Windows...

     

Log in to post a comment.