Hi,
I have both ST2 and ST3 installed on my computer. I mostly use ST3 though because it works better with Python 3.3.
A fellow graduate student recently wrote a module to work with our geostatistics programs that we used. I’ve installed the module and as a path, it needs WinPy. I can run my Python scripts using his module with no problems if I run them through a program such as Cygwin. When I try to run them from Sublime, I get an error saying the following:
Calling: ‘histplt’, ‘histplt.par’]
Traceback (most recent call last):
File “C:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\subprocess.py”, line 1106, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\Users\Cole\Documents\Working\RenR 690 - Winter\ProjectPython\1-Data\renrtest.py”, line 90, in
varname=‘Au’,outfl=‘histplt_test.ps’))
File “C:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\site-packages\pygslib\programs.py”, line 93, in run
subprocess_output=subprocess.check_output(program_call)
File “C:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\subprocess.py”, line 573, in check_output
with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
File “C:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\subprocess.py”, line 820, in init
restore_signals, start_new_session)
File “C:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\lib\subprocess.py”, line 1112, in _execute_child
raise WindowsError(*e.args)
FileNotFoundError: [WinError 2] The system cannot find the file specified
[Finished in 1.3s with exit code 1]
[shell_cmd: python -u “C:\Users\Cole\Documents\Working\RenR 690 - Winter\ProjectPython\1-Data\renrtest.py”]
[dir: C:\Users\Cole\Documents\Working\RenR 690 - Winter\ProjectPython\1-Data]
[path: C:\Program Files (x86)\CMG\LAUNCHER\2010.12\Win32\exe;C:\Program Files (x86)\Common Files\Microsoft Shared\VSA\10.0\VsaEnv;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn;C:\Program Files\MATLAB\R2013a\runtime\win64;C:\Program Files\MATLAB\R2013a\bin;C:\Program Files (x86)\Common Files\Crystal Decisions\2.5\bin;C:\Gemcom;C:\Gemcom\dll;C:\Gemcom\util;D:\LINGO64_14;C:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64;C:\Program Files\MiKTeX 2.9\miktex\bin\x64]
As far as I know, I just need to change my Sublime build to the new path. I don’t know how to do that in sublime 3 though. Could someone help out with this?