Error loading modules

BL bll349 at gmail.com
Wed Nov 5 11:21:16 EST 2008


On Nov 4, 7:11 pm, John Machin <sjmac... at lexicon.net> wrote:
> On Nov 5, 9:18 am, BL <bll... at gmail.com> 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 "<string>", line 1, in <module>
> > 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"



More information about the Python-list mailing list