jfhbrook / pyee

A rough port of Node.js's EventEmitter to Python with a few tricks of its own
https://github.com/jfhbrook/public
MIT License
371 stars 39 forks source link

ImportError: cannot import name 'BaseEventEmitter' from 'pyee' #163

Closed diwap closed 2 months ago

diwap commented 2 months ago

(/usr/local/lib/python3.8/dist-packages/pyee/__init__.py)

Issue with version: 12.0.0

Works fine with version that I initially used i.e. 11.1.0

jfhbrook commented 2 months ago

That import has been deprecated for some time and was removed in 12.0. Try from pyee.base import EventEmitter.