The python module installs to the wrong site-packages directory on Fedora x86_64. This is with avogadro 1.0.1. On 64bit Fedora (14), there are 2 different directories for python modules:
/usr/lib64/python2.7/site-packages - contains 64bit modules
/usr/lib/python2.7/site-packages - contains cpu arch independent modules (and any 32bit modules, for multilib installations)
The Avogadro.so file is clearly 64bit compiled code, so should be under /usr/lib64. The fix is to use sysconfig.get_python_lib(1) instead of sysconfig.get_python_lib() - on 32bit, these both return the same directory.
trivial fix
Thank you, fix submitted to Gerrit
BTW, does Avogadro Python work fine for you with Python 2.7?
No, it's not working - it's the same error as in https://bugzilla.redhat.com/show_bug.cgi?id=642248
Moving the module doesn't fix it (and I didn't really expect it to).
I just pushed this patch to Gerritt for 1.0 -- using sysconfig.get_python_lib(1) instead of sysconfig.get_python_lib().
Thanks!
This fix was applied in 1.0 and master. It should make it into our next release.