Closed nicolargo closed 11 years ago
The problem is on the Clize lib: https://github.com/epsy/clize/blob/master/clize.py. The package is not compatible with Python 2.6: "OrderedDict is a new class added to Python 2.7, so it is missing in your case."
Add to had the following patch:
try:
from collections import OrderedDict
except ImportError:
# python 2.6 or earlier, use backport
from ordereddict import OrderedDict
Hello !
It is not a bug, as zerobin aims to be compatible with Python 2.7 only. See "classifiers" in https://github.com/sametmax/0bin/blob/master/setup.py.
However, we may want to make this more explicit by adding it to the README.
What's more, you probably want to make a pull request to clize with your patch, as they claim to be compatible with Python 2.6.
Cheers
In the online documentation: https://0bin.readthedocs.org/en/latest/fr/easy_install.html
30 seconds setup (for anybody) Make sure you have Python 2.6 or 2.7 (python –version)
Installation en 30 secondes (pour tous) Assurez-vous d’avoir Python 2.6 ou 2.7 (python –version)
Just remove the Python 2.6 ;)
Thk for the project !
I apologize for this error. I'll fix that.
No problem :)
I just propose a pull request to the Clize lib: https://github.com/epsy/clize/pull/5
Thanks, this kind of help is much needed.
Le mer. 02 oct. 2013 10:47:01 CEST, Nicolas Hennion a écrit :
No problem :)
I just propose a pull request to the Clize lib: epsy/clize#5 https://github.com/epsy/clize/pull/5
— Reply to this email directly or view it on GitHub https://github.com/sametmax/0bin/issues/54#issuecomment-25522960.
From an out of the box Debian 7 installation.
Install with Pip:
Run:
Boom...