Restarting Python Shell not working with pyenv
Hi,
I am trying to use pyenv with WingIDE Pro 7. I've used
import sys
print(sys.executable)
and get the python executable path as
/home/dtnlp/.pyenv/versions/vPy36/bin/python
Then, I open the Project Properties dialog window and chose [Command Line] to put the executable python path in it.
After resting the Python Shell tab from [Options], it still gives me this message:
Cannot execute: use Options -> restart Shell to launch shell [Needs restart for Python env]
I've repeated the steps many times, but still cannot get my Python Shell working under WingIDE.
Please kindly advise what I can do. Many many thanks in advance. :)
-- Peter. w
Comments
Could you please try setting the Debugger > Diagnostics > Python Shell Debug Log preference, restarting the Python Shell from its Options menu, and sending the log to support@wingware.com? Please don't set the Extremely Verbose option, though.
I managed to replicate this here. Will add an answer...
Also, the diagnostic log is not produced because the crash is early in Python's startup. So no need to try to obtain that.