check the pymel docs under installation - problems on linux: If you encounter an error loading the plugin in on linux, you may have to fix a few symlinks. As root, or with sudo privileges do the following:
cd /lib64 ls -la libssl* You might see something like the following returned: -rwxr-xr-x 1 root root 302552 Nov 30 2006 libssl.so.0.9.8b lrwxrwxrwx 1 root root 16 Jul 16 2007 libssl.so.6 -> libssl.so. 0.9.8b The distribution of python that comes with maya is compiled to work with a particular flavor and version of linux, but yours most likely differs. In my case, it expects libssl.so.4, but i have libssl.so.6 and libssl.so.0.9.8b. So, I have to create a symbolic link to the real library: sudo ln -s libssl.so.0.9.8b libssl.so.4 I've found that the same thing must sometimes be done for libcrypto.so. 4, as well. On Jun 27, 2009, at 4:45 AM, Farsheed Ashouri wrote: > > Hi folks, I have a strange problem with maya 2k8_x64 on ubuntu x64 > 9.04 > when I try to import pymel or other modules that need md5 or hashlib, > an error occurs: > > "ImportError: No module named _md5" mayapy > > #======== Code ============= >>>> import md5 > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/autodesk/maya/lib/python25.zip/md5.py", line 6, in > <module> > File "/usr/autodesk/maya/lib/python25.zip/hashlib.py", line 133, in > <module> > File "/usr/autodesk/maya/lib/python25.zip/hashlib.py", line 60, in > __get_builtin_constructor > ImportError: No module named _md5 > > #========================== > > Any idea? > -- > Sincerely, > Farsheed Ashouri, > Lead Technical Director / Research & Development, > Arang Studios, > Tehran, Iran. > Cell No: +98 936208 9858 > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
