Error loading modules

2008-11-04 Thread BL
I am very new to python.  I am installing it as part of a bazzar
version control installation.
I have installed the Crypto, paramiko and cElementTree modules.  I am
running Solaris10x86.
When testing the modules I get the following results.

 python -c "import Crypto"
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named Crypto

Here is the path setups and the modules have been verified to be in
those directories.
Python 2.5.1 (r251:54863, May 16 2007, 19:39:00)
[GCC 3.4.6] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', '/usr/
local/lib/python2.5/plat-sunos5', '/usr/local/lib/python2.5/lib-tk', '/
usr/local/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-
packages']

Any assistance would be appreciated
--
http://mail.python.org/mailman/listinfo/python-list


Re: Error loading modules

2008-11-05 Thread BL
On Nov 4, 7:11 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Nov 5, 9:18 am, BL <[EMAIL PROTECTED]> wrote:
>
> > I am very new to python.  I am installing it as part of a bazzar
> > version control installation.
> > I have installed the Crypto, paramiko and cElementTree modules.  I am
> > running Solaris10x86.
> > When testing the modules I get the following results.
>
> >  python -c "import Crypto"
> > Traceback (most recent call last):
> >   File "", line 1, in 
> > ImportError: No module named Crypto
>
> What is "the Crypto module"? What is the path to the directory in
> which you installed it? Do you mean one of crypto [case matters],
> pycrypto, pyCrypto, M2Crypto, ...?

pyCrypto is the module I installed.  The directory it is installed in
is
/usr/local/lib/python2.5/site-packages  - there is one directory
called
Crytpo and two other files called  pycrytpo-2.0.1-py2.5.egg-info and
pycrytpo-2.0.1-py2.5-solaris-2.10-i86pc.egg.

The directions to check the installation of the python modules said
to
execute python -c "import Crypto"
--
http://mail.python.org/mailman/listinfo/python-list