From: Jan E. M. <li...@mo...> - 2010-06-30 16:51:17
|
On Wed, Jun 30, 2010 at 18:20, Waylan Limberg <wa...@gm...> wrote: > It occurs to me that you may not have uninstalled an older version > before installing the new one. The problem is that when the > commandline script is named "markdown.py" it will only ever try to > import itself rather than the markdown library. There are solutions > available to reconfigure your system to not have this problem > (fiddling with the PYTHONPATH), but that is not something we should > expect our users to do. The solution we used instead was to rename the > commandline script by dropping the ".py". I'm guessing that because > you did not uninstall the older version, "markdown.py" is still in > your bin and will still raise the error. First check that > "/usr/local/bin/markdown" exists, then delete the older script at > "/usr/local/bin/markdown.py" and just remember to use "markdown" from > now on. Thanks, that worked. - jem |