Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnsupportedOperation: fileno for pyverdict #394

Open
meghnaburli opened this issue Feb 18, 2020 · 3 comments
Open

UnsupportedOperation: fileno for pyverdict #394

meghnaburli opened this issue Feb 18, 2020 · 3 comments

Comments

@meghnaburli
Copy link

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
Copy link

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

Thanks.

@pyongjoo
Copy link
Member

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

@meghnaburli
Copy link
Author

Hello @aalex12321

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants