Home Download Buy Blog Forum Support

Can not import ply python module

Can not import ply python module

Postby hoody4032 on Sun Jul 15, 2012 4:53 am

Hi,

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

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


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.
hoody4032
 
Posts: 1
Joined: Sun Jul 15, 2012 4:48 am

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests