[jadmin] PyMsnt errors - ImportError: No module named random

Rajeswari Ramasamy calypso_tnj at yahoo.com
Wed Jul 5 04:02:38 CDT 2006


Hi,

I have installed jabberd-1.4.3 and PyMsnt0.10 and done
the setup as per  instructions given in
http://delx.cjb.net/pymsnt/docs/server.html.

I get the following errors when I try to run 
 ./PyMSNt
--------------------
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "main.py", line 4, in ?
    import utils
  File
"/usr/src/redhat/SOURCES/PyMSNt-0.10/src/utils.py",
line 40, in ?
    import random
ImportError: No module named random
-------------------

I have also installed  Distutils-1.0.2,
pycrypto-2.0.1, ZopeInterface-3.0.1,
Twisted-2.4.0(Core, Words and Web ), pyOpenSSL-0.6 and
Python-2.4.3.
In the site-packages directory I have Crypto,
distutils, twisted and zope. This site-packages dir is
not int the installation directory.

I have set the following varibales as

PYTHONHOME=/usr/src/redhat/SOURCES/Python-2.4.3
PYTHONPATH=/usr/local/lib/python2.4/site-packages

What other set up has to be done? What is the cause of
this error?

Regards
Raj

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the JAdmin mailing list