I want to use python-sql as per this link. python-sql project home. I install sql using "pip install sql", and it goes as planned. However, when I place the import at the top of my module;
from sql import *
from sql.aggregate import *
from sql.conditional import *
PyCharm indicates that sql.aggregate could not be resolved. If I try to execute the code, I get an error
ImportError: No module named 'sql.aggregate'; 'sql' is not a package
I've done a lot of searching on it and can't find what I am doing wrong. I'm a Python newbe, so I hope it is something simple - but I couldn't find anything in the docs about installation.
(Edit : system setup) - MS Windows 7 - Python 34 - Virtual Machine
You need to install python-sql
, not sql
:
pip install python-sql
sql
is a different project altogether.