Ticket #1395 (closed defect: fixed)
"Import Error: cannot import name UnicodeMultiDict" when installing ckan from source
Reported by: | seanh | Owned by: | |
---|---|---|---|
Priority: | awaiting triage | Milestone: | |
Component: | ckan | Keywords: | |
Cc: | dread | Repository: | ckan |
Theme: | none |
Description
At the paster db init command when installing ckan from source I get the error "Import Error: cannot import name UnicodeMultiDict?" (happens with both ckan 1.4.2 and today's latest bleeding edge code, on Ubuntu 10.04.3).
UnicodeMultiDict? has been removed in a recent version of python-webob, and the pip install ... lucid_missing.txt causes a too-new version of python-webob to be installed into ckan's virtualenv (the new webob gets installed as a dependency of formalchemy).
I manually did pip uninstall webob and then ran paster db init again and it worked.
Change History
comment:3 Changed 3 years ago by dread
This problem is mentioned here: http://docs.ckan.org/en/latest/test.html but you're right, it really should be solved in the install instructions.
The exact command that introduced the too-new webob into my virtualenv was: