Emotiv / cortex-example

Example with Cortex V2/V3 API
https://emotiv.com
MIT License
200 stars 115 forks source link

Python Example Dispatch Reference Error #183

Closed philhyp closed 2 years ago

philhyp commented 2 years ago

from pydispatch import Dispatcher

can not be referenced, editor asks me to initialize Dispatcher in the lib, how could we resolve this?

tungntEmotiv commented 2 years ago

Hi @philhyp ,

Have you installed python-dispatch via "pip install python-dispatch" ?

philhyp commented 2 years ago

Hi @philhyp ,

Have you installed python-dispatch via "pip install python-dispatch" ?

@tungntEmotiv yes, also tried PyDispatcher - could it be a version issue?

tungntEmotiv commented 2 years ago

@philhyp ,

Ah I mean that python-dispatch (https://pypi.org/project/python-dispatch/) not PyDispatcher (https://pypi.org/project/PyDispatcher/) . They are not the same