You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when I try to use IPAString in new project
from ipapy.ipastring import IPAString
if __name__ == '__main__':
IPAString(unicode_string="tɛst")
Error:
Traceback (most recent call last):
File "D:\dev\tes1\main.py", line 1, in <module>
from ipapy.ipastring import IPAString
File "D:\dev\tes1\venv\lib\site-packages\ipapy\ipastring.py", line 10, in <module>
from collections import MutableSequence
ImportError: cannot import name 'MutableSequence' from 'collections' (C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\collections\__init__.py)
Resolution is to change ipastring.py:10:
from from collections import MutableSequence
to from collections.abc import MutableSequence
The text was updated successfully, but these errors were encountered:
I get the following error when I try to use IPAString in new project
Error:
Resolution is to change ipastring.py:10:
from
from collections import MutableSequence
to
from collections.abc import MutableSequence
The text was updated successfully, but these errors were encountered: