verdict-project/verdict

UnsupportedOperation: fileno for pyverdict

Opened this issue · 3 comments

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

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

Thanks.

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

Hello @aalex12321

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