Sublime Forum

Can not import ply python module

#1

Hi,

When I import ply python module, and hit CMD+B to build the code, it gives error:

[quote]Traceback (most recent call last):
File “/Users/xxxx/Temp/python/test.py”, line 2, in
import ply
ImportError: No module named ply
[Finished in 0.1s with exit code 1][/quote]

But I can import ply module in command line python environment. Also, in command line, I can run
python test.py

It gives no problem. Just can not build it inside Sublime text 2. Any help?

Thanks.

0 Likes