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

Can't find termios module in Windows #22

Open
suedunham opened this issue Apr 10, 2019 · 7 comments
Open

Can't find termios module in Windows #22

suedunham opened this issue Apr 10, 2019 · 7 comments

Comments

@suedunham
Copy link

I'm trying to install on Windows 10, which reasonably enough doesn't seem to support the termios module. Trying to view a mlb game gave me the ModuleNotFoundError stemming from player.py to pty, to tty. Is there a workaround at this time, or have I bungled the installation somehow?

@tonycpsu
Copy link
Owner

You haven't bungled anything -- I just haven't had a chance to try to get things working on Windows yet. I know there are a lot of folks who will want to run this on Windows so I will try to take a look soon.

@suedunham
Copy link
Author

Thanks, no worries. My team's off to an atrocious start anyway. PitchingNotFoundError

@tonycpsu
Copy link
Owner

I've pushed changes as of b12b2c6 that at least get me to the point where I can download MLB games via the CLI. These changes include conditionally importing termios and other UNIX-focused modules based on whether or not the platform is Windows. This breaks some GUI features (progress reporting of downloads) but Urwid doesn't work in Windows proper anyway (only via Cygwin) and getting things running Cygwin is going to take a lot of additional effort.

Windows people, please try this and let me know if it helps.

@mlb-fan
Copy link

mlb-fan commented Jan 24, 2020

It now successfully completes the install and begins to run on Windows, but when I try to download a game there is an error. I opened a new issue.

@mlb-fan
Copy link

mlb-fan commented Jan 25, 2020

Game download is working perfectly on Windows! I can select the resolution I want and all audio streams are present in the file.

Thanks for all your great work! All I need is download functionality so it's fine that the streaming GUI doesn't work on Windows.

@mlb-fan
Copy link

mlb-fan commented Jan 2, 2023

I just installed this on a new Windows computer and I'm getting that "No module named 'termios'" error there. The setup seemed to work fine, I saw no errors, this is when trying to download a game.

I tried a download on my old computer and it is still working there. Is the fix that was implemented here still in place? If so it didn't seem to have taken effect when installing on this system for some reason.

I might have installed it differently back on the other computer? This time around I just followed the steps in the repo readme using Git for Windows. I feel like that's what I did before also, but it was so long ago I don't remember for sure.

@mlb-fan
Copy link

mlb-fan commented Mar 9, 2024

Still having the same issue trying to make this work on my new computer - but now it no longer works on my old computer either (throwing some other error when I try to download) so I can't just download games over there anymore. Please help?

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