Forums

pytils?

pdb or pdb2.6 didnt see pytils

You can install pytils with

pip install --user pytils

pytils installed, and work with regular python run;

but if i run same script with pdb: pdb tst.py, pytils not founded..

so, i just want to debug app

Sounds like pdb is using a different version of Python.

ls -l `which pdb`
lrwxrwxrwx 1 0 0 6 Jan 28 12:19 /usr/bin/pdb -> pdb2.6

Yup, so you would need to make sure that you have pytils installed for Python2.6.

pip-2.6 install --user pytils

Should do the trick. I've just tested that and pdb can now find pytils.