You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
Getting this error in Jupyter, with Anaconda python 3.6.3.
Installed in Anaconda via pip- Successfully installed moz-sql-parser-1.3.18033
from moz_sql_parser import parse
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-18-9c8bbc990e39> in <module>()
----> 1 from moz_sql_parser import parse
~\Anaconda3\lib\site-packages\moz_sql_parser\__init__.py in <module>()
14 import json
15
---> 16 from mo_future import text_type, number_types, binary_type
17 from pyparsing import ParseException
18
ModuleNotFoundError: No module named 'mo_future'
Also tried in centos7 under py 3.6.3, same error.
Successfully installed moz-sql-parser-1.3.18033 pyparsing-2.2.0
> python3 test.py
Traceback (most recent call last):
File "test.py", line 5, in <module>
from moz_sql_parser import parse
File "/home/vagrant/python/sqlparser/ve/lib/python3.6/site-packages/moz_sql_parser/__init__.py", line 16, in <module>
from mo_future import text_type, number_types, binary_type
ModuleNotFoundError: No module named 'mo_future'
The text was updated successfully, but these errors were encountered:
Looks like the mo_future module in requirements.txt wasn't installed automatically by pip. Manually installing mo_future fixed that, so the workaround is easy, though the expectation is that pip installs will take care of all dependencies.
The problem appears to be in setup.py. I will fix it and deploy to pypi, but not until later this week. I hope to add an install test so this does not happen in the future.
Getting this error in Jupyter, with Anaconda python 3.6.3.
Installed in Anaconda via pip-
Successfully installed moz-sql-parser-1.3.18033
Also tried in centos7 under py 3.6.3, same error.
The text was updated successfully, but these errors were encountered: