Hello, I have a custom python 2.7 installed as part of the OSGeo4W package, which all appears to be working correctly when I start from a Windows CMD command prompt.
However, when I attempt to add a custom interpreter (Debug -> Options and Settings -> Python Tools -> Interpreter Options -> Add Interpreter), I run into difficulty.
Language Version: 2.7
Path Environment Variable: PYTHONPATH
When I attempt to start my custom interpreter in pytools, it immediately errors out with "The Python REPL process has exited"
If I attempt to enter anything in to the blinking cursor, it gives me the error "ImportError: No module named site"
The paths for the OSGeo4W installation of Python include the binary being in c:\OSGeo4W\bin\ and the libs being in c:\OSGeo4W\apps\python27\lib\
I suspect there is something janky with the PYTHONPATH or the PYTHONHOME, but cannot figure out what is mis-configured in VisualStudio. Again, custom python interpreter works correctly when started from windows cmd prompt.
Any help would be greatly appreciated.