super() argument 1 must be type, not classobj
When trying to scrape a wiki, I get the following error:
40 namespaces found
Retrieving titles in the namespace 0
Traceback (most recent call last):
File "dumpgenerator.py", line 2572, in
What version of mwclient do you have? How did you install it?
0.11, installed via pip.
Same error, any help?
Ok, try this: run pip --force-reinstall "mwclient==0.10". It's not giving the error now, it seems like it's working?
Faced same issue.
The below solved.
pip install "mwclient==0.10"
The --force-reinstall command just returns an error, but the install command @agnelvishal replied with works.