Wrong, there are libraries in Python?

0 like 0 dislike
5 views
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?
by | 5 views

1 Answer

0 like 0 dislike
Settings->Project interpreter ?
by

Related questions

110,608 questions
257,186 answers
0 comments
33,949 users