-
Notifications
You must be signed in to change notification settings - Fork 371
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
Python 3.10 on Windows fails: AttributeError: module 'collections' has no attribute 'Callable' #2114
Comments
See hylang/hy#2114 for details
We don't really officially support operating systems other than Linux, because we only test on Linux (#2025 (comment)). |
If you want to fix this, the easiest way is just to not use Readline in the REPL on Windows. |
Please change the code in line 8 of "c:\python\lib\site-packages\pyreadline\py3k_compat.py" to |
This is the repository for Hy, not pyreadline. |
great |
事实证明,我是对的 |
Will it be maintained or just a temporary fix? |
I'm gonna say this only one more time: this is the repository for Hy, not pyreadline. Even if you Googled something about pyreadline and ended up on this page, we don't maintain that library. We can't fix it. The pyreadline issue you're looking for is pyreadline/pyreadline#65. |
Thanks to pyreadline/pyreadline#65, Hy on Python 3.10 on Windows no longer starts, and a backtrace similar to the following is the result:
Unfortunately from that bug (and the repository in general), it would appear that
pyreadline
is no longer actively maintained (last update of any kind was in 2015), so for Hy to continue to support Windows on future Python versions will require some amount of workaround (a fork ofpyreadline
, dropping readline support on Windows, etc).I'm not sure if there's a way to specify that Python 3.10+ and Windows are simply mutually incompatible, but that would be the "simplest" workaround if there's a clean way to specify that. 🙈
The text was updated successfully, but these errors were encountered: