Did you recently upgrade your OS (which in turn upgraded python?)?
In any case you should start out fresh.
Delete old mwlib/mwlib.rl (assuming you used easy_install to install)
easy_install -m mwlib
easy_install -m mwlib.rl
check /usr/lib64/python2.7/site-packages/mwlib/ and the mwlib.rl
directory for left overs
After that install again:
easy_install mwlib
easy_install mwlib.rl
On 06/09/2011 02:20 PM, zuul wrote:
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line
1959,
in load
raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError:<module 'mwlib._version' from
'/usr/lib64/python2.7/site-packages/mwlib/_version.pyc'> has no 'main'
attribute
I guess that you seams to be right - but I followed exactly the
instructions ... how can I fix this issue?
Sincerely
Wolf-Agathon
On 9 Jun., 11:08, Volker Haas<[email protected]> wrote:
On 06/02/2011 05:27 PM, zuul wrote:
I'm currently running the following environment
Fedora 14
Python 2.7
gcc 4.5.1
mwlib 12.14
mwlib.rl 12.8
both mw-libraries were downloaded via git
kernel 2.6.35.13 latest available via yum download
whenever I run mw-render --list-writers I'm getting the following
output
bash $ mw-render --list-writers
xhtml XHTML 1.0 Transitional
odf OpenDocument Text
docbook DocBook XML
rl<NOT LOADABLE: No module named fontswitcher>
The message "<NOT LOADABLE: No module named fontswitcher> " indicates
that you are using incompatible versions of mwlib and mwlib.rl.
Please execute the following command and post the output: mw-version
I believe there is still and old version of mwlib/mwlib.rl somewhere on
your system.
--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstra e 64
fax +49 6131 2116392 55118 mainz
[email protected] http://www.brainbot.com/
--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz
[email protected] http://www.brainbot.com/
--
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mwlib?hl=en.