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


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?

Posts: 1
Joined: Sun Jul 15, 2012 4:48 am

Return to Technical Support

Who is online

Users browsing this forum: aloje, Google [Bot] and 13 guests