'Very weird error in chess __init__.py file

I import chess in python and I finished everything in the project but when I click run I find a very weird error in file __init__.py

the error

File "D:\pythonProject\pythonProject3\venv\lib\site-packages\chess\__init__.py", line 37, in <module>
    from typing import ClassVar, Callable, Counter, Dict, Generic, Hashable, Iterable, Iterator, List, Mapping, Optional, SupportsInt, Tuple, Type, TypeVar, Union
ImportError: cannot import name 'Counter'


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source