起因:学到多线程greenlet模块时,greenlet模块死活装不上,以为pycharm坏掉了,浪费了一下午. #pip3 install greenlet from greenlet import greenlet import time def eat(name): print('%s eat 1' % name) # time.sleep(1) g2.switch('egon') print('%s eat 2' % name) g2.switch() def play(name): p…