Calibre now depend on OrderedDict which need python2.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
There is a build error on Ubuntu 10.10(Marverick) 64bit.
It is because calibre now 0.7.54(2011-04-08) depend on collections.
but minimum requirement of python version is 2.6.
We should not depend on collections.
of collections.
A package name of library in Natty is 'python-
-------
*
* Running resources
*
Creating scripts.pickle
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.
File "setup.py", line 85, in main
command.
File "/home/
self.
File "/home/
cmd.run(opts)
File "/home/
from calibre.
File "/home/
from calibre.
File "/home/
from calibre.
File "/home/
from calibre.
File "/home/
from calibre.
File "/home/
from collections import OrderedDict
ImportError: cannot import name OrderedDict
Calibre has required Python 2.7 for quite some time. All calibre binary installs bundle Python 2.7. All calibre binary installs also bundle colletions. You will need to update the Python version install on Ubuntu. Python 2.7 specific features are used elsewhere.