winpdb can't find SHA256.so

7 views
Skip to first unread message

webe3vt

unread,
Jan 6, 2011, 11:47:58 AM1/6/11
to Winpdb
I am trying to run winpdb to debug a python program. The program runs
fine outside of winpdb. winpdb gives an exception on a line:

from Crypto.Hash import SHA256

If I start Python from a terminal the import works fine. It looks
like SHA256 comes from:

/usr/lib/python2.6/dist-packages/Crypto/Hash/SHA256.so

It must be some kind of path problem. I tried exporting PYTHONPATH
before starting winpdb and that didn't help. I have a Debian Linux
system. I am just starting winpdb from a terminal with the python
program as the argument. I can exit winpdb and start python from the
terminal winpdb created and the import works fine.

What is going on here and how do I make it work?
Reply all
Reply to author
Forward
0 new messages