Hello, new to the forums here. I’m delving into python for the first time and looking at sublime packages to learn from the code. I’m using a fresh install of ST3 on Windows 10 and I have python 3.7.2 installed. Right now I’m just testing import commands and have run into errors that make me think that I’m not set up correctly.
Traceback (most recent call last):
File "C:\test\url\test.py", line 2, in <module>
import sublime
ModuleNotFoundError: No module named 'sublime'
[Finished in 0.1s with exit code 1]
and also…
Traceback (most recent call last):
File "C:\test\url\test.py", line 2, in <module>
import sublime_plugin
ModuleNotFoundError: No module named 'sublime_plugin'
[Finished in 0.1s with exit code 1]
According to this topic it only works in the ST3 console and not the build system which I can confirm. My question is then, how do I set up a workflow where I can test scripts that require these imports if they’re only available from the ST2 embedded Python interpreter?
I’m sure there’s something obvious that I’m not getting.
Thanks!