verdict-project / verdict

Interactive-Speed Analytics: 200x Faster, 200x Fewer Cluster Resources, Approximate Query Processing
http://verdictdb.org
Apache License 2.0
248 stars 66 forks source link

UnsupportedOperation: fileno for pyverdict #394

Open meghnaburli opened 4 years ago

meghnaburli commented 4 years ago

Hello,

I tried connecting verdict to MySQL using python3(Jupyter).As per the documentation,I installed pyverdict.The version is 0.1.3.2. verdict = pyverdict.mysql('localhost', 'root', 'password') # make a connection

gives me this error:

/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py in _get_handles(self, stdin, stdout, stderr) 1403 else: 1404 # Assuming file-like object -> 1405 errwrite = stderr.fileno() 1406 1407 return (p2cread, p2cwrite,

UnsupportedOperation: fileno

aalex12321 commented 4 years ago

Hi, I met the same error, if you already know the solution, I hope i can get your response.

Thanks.

pyongjoo commented 4 years ago

Please see if the issue replicates for Anaconda (https://www.anaconda.com/), which is the Python distribution we used for development.

meghnaburli commented 4 years ago

Hello @aalex12321

Please try running the python file from your terminal instead of jupyter. Seemed to work in my case.