ipython-sql
ipython-sql copied to clipboard
Python 3 support
Is there support for Python 3? It seems mysqlpy
is not available for Python 3. By the way, I don't understand the hard dependency on mysqlpy. I don't use MySQL.
ImportError Traceback (most recent call last)
<ipython-input-1-141f9bbaf117> in <module>()
----> 1 import sqlpython
2 get_ipython().magic('load_ext sql')
3 get_ipython().magic('config SqlMagic.displaylimit = 1')
4 get_ipython().magic('config SqlMagic.autopandas = True')
/R/.virtualenv/py3/lib/python3.4/site-packages/sqlpython/__init__.py in <module>()
----> 1 import mysqlpy
2 __all__ = ["sqlpython", "sqlpyPlus", "pexpecter", "mysqlpy", \
3 "output_templates", "plothandler", "metadata",]
4 __version__ = '1.7.0'
ImportError: No module named 'mysqlpy'
It does seem to work in python3 for me?
Same here.
It works for me once I installed mysqlclient:
pip install mysqlclient