We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting a not implementederror when running this. Issue seems windows related.
Traceback (most recent call last): File "C:\Program Files (x86)\Python38-32\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Program Files (x86)\Python38-32\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\mvwe\AppData\Roaming\Python\Python38\site-packages\aiotuya\__main__.py", line 242, in <module> loop.remove_reader(sys.stdin) File "C:\Program Files (x86)\Python38-32\lib\asyncio\events.py", line 504, in remove_reader raise NotImplementedError NotImplementedError
The default eventloop doesn't seem to work on win32. I think a fix should be:
if sys.platform == 'win32': loop = aio.ProactorEventLoop() aio.set_event_loop(loop) else: loop = aio.get_event_loop()
for line 226 in main.py. But now in run into the second issue. stdin does not seem to be supported.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm getting a not implementederror when running this. Issue seems windows related.
The default eventloop doesn't seem to work on win32. I think a fix should be:
for line 226 in main.py. But now in run into the second issue. stdin does not seem to be supported.
The text was updated successfully, but these errors were encountered: