-
Notifications
You must be signed in to change notification settings - Fork 122
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
Not compatible with Python 3.10 (cannot import name 'Mapping' from 'collections') #293
Comments
您好,我是李冬,您发来的邮件已收到,我将会尽快回复您
|
PyJade isn't compatible with Python 3.10, due to some deprecation removals: syrusakbary/pyjade#293
Open the folder of pyjade, and open runtime.py, then change |
@fatsen Your (teacher’s) change works because However, do note that editing the source code of a library in the files that were installed is generally considered a bad idea: it will work on your computer, but is confusing when you come back to the program later when you have forgotten you did that, and is hard to keep track of if you ever give the program to someone else. |
This was apparently a deprecated alias which was removed in Python 3.10; the new way of doing it is
collections.abc
.Workaround: use Python 3.9 instead.
The text was updated successfully, but these errors were encountered: