This is originated from a bug report: https://github.com/Komodo/KomodoEdit/issues/287
I set nothing in the Environment. My Python project is supposed to use the system-wide Python 3. I leave everything default in the project configuration. But Pyflakes is still not detected.
What should I do more?
Does your system have multiple versions of Python installed? Could you share a screenshot of your Prefs > Languages > Python 3
screen?
Hello. I have only one Python 3 instance:
Could you match up your PYTHONPATH and PYTHONHOME env variables in Presf > Environment to what they are when you execute python from your shell?
When I execute python from shell, both PYTHONPATH and PYTHONHOME are not set:
quan@Vervet ~$ echo $PYTHONPATH
quan@Vervet ~$ echo $PYTHONHOME
quan@Vervet ~$ python3
Python 3.4.3 (default, Mar 26 2015, 22:03:40)
[GCC 4.9.2] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
import pyflakes
pyflakes.version
‘0.8.1’
So, to leave them not set in Prefs > Environment is actually to make them match my environment variables.
I explicitly set PYTHONPATH
in project’s environment variable, but Komodo still failed
Could you try the python macro @ervumlens shared here and see if it matches the python you are using from your terminal?