Write import asyncio(I use Pycharm), it's okay, he shows that such a library has
But when food asyncio.get_event_loop (), etc., Pycharm highlights yellow, and the interpreter throws an error
AttributeError: module 'asyncio' has no attribute 'get_event_loop'
The same applies to other libraries, for example, threading
Why?