Ashwath
Ashwath

Reputation: 75

ImportError: cannot import name 'Dispatcher' from 'pydispatch'

I have installed pydispatch using - pip install pydispatch - in cmd

C:\Users\masysna1\Desktop\aswath-hiwi\cortex-v2-example-master\Demo>pip install pydispatch
Requirement already satisfied: pydispatch in c:\users\masysna1\appdata\local\programs\python\python310\lib\site-packages (1.1.0)
Requirement already satisfied: six>=1.5.2 in c:\users\masysna1\appdata\local\programs\python\python310\lib\site-packages (from pydispatch) (1.16.0)
Requirement already satisfied: colorama>=0.2.7 in c:\users\masysna1\appdata\local\programs\python\python310\lib\site-packages (from pydispatch) (0.4.4) 

but when I run from pydispatch import Dispatcher in python. I get the following error

ImportError: cannot import name 'Dispatcher' from 'pydispatch'

before this was working fine, can anyone help me

Upvotes: 1

Views: 1911

Answers (1)

Ashwath
Ashwath

Reputation: 75

Use pip install python-dispatch.

Upvotes: 2

Related Questions