Gould wrote:
>
> I have a fresh Plone 3.2.2 installation (with Unified Installer) on Ubuntu
> 8.04. In order to enable Markdown support I added Markdown to the egg
> section of the buildout.cfg. But when running buildout I get the following
> error:
> ...
> markdown.MarkdownException: Failed to import ElementTree
> Error: Couldn't install: Markdown 2
>
> Adding elementtree to the buildout.cfg doesn't help. Probably because it
> already exists?.
I encountered the same error with Plone 3.2.2 on Debian Lenny in trying to
use Markdown. - Strange, that it does not work with the provided ElementTree
version. In case someone else will encounter the same problem, I will
describe briefly what I did to get it working:
[buildout]
...
eggs =
Markdown
will download the current Markdown version ( 2.0.1), which apparently does
not find the existing ElementTree.
The first thing I tried, was to change this to:
eggs =
Markdown==1.7
to install an earlier version, which does not depend on ElementTree. This
worked without any errors.
Next I tried to use cElementTree with the current Markdown and this worked
likewise.
eggs =
cElementTree
Markdown
Christian
Links:
http://plone.org/documentation/how-to/enable-markdown-textile-and-restructured-text-support
http://www.freewisdom.org/projects/python-markdown/Installation
http://pypi.python.org/pypi/Markdown/2.0.1
http://pypi.python.org/pypi/cElementTree/1.0.2-20050302
--
View this message in context:
http://n2.nabble.com/Problem-with-installing-Markdown-support%3A-Failed-to-import-ElementTree-tp2867853p3079754.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup