Emotiv / cortex-example

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

run cortex.py --ImportError: cannot import name 'Dispatcher' #190

Closed Yangdudua closed 1 year ago

Yangdudua commented 1 year ago

i run cortex.py,but it show "ImportError: cannot import name 'Dispatcher'".Then i charge it to dispatcher and it is ok.But now it show Traceback (most recent call last): File "E:\data\python\cortex-v2-example-master\python-cortex\cortex.py", line 60, in class Cortex(dispatcher): TypeError: module.init() takes at most 2 arguments (3 given)

tungntEmotiv commented 1 year ago

Hi @Yangdudua ,

Does your project reference the latest our python example ? Could you try run sub_data.py and let us know the result ?

danielgonzalez3 commented 1 year ago

similar issue here: ImportError: cannot import name 'Dispatcher' from 'pydispatch' (

maybe we can lockdown on requirements.txt?

danielgonzalez3 commented 1 year ago

https://stackoverflow.com/questions/70019526/importerror-cannot-import-name-dispatcher-from-pydispatch

helped me out :)