Reputation: 303
I have used ntlk in the past but now am unable to import it in python. The error is:
*ImportError: No module named ntlk*
1) I checked it was still installed, it appears in pip list as the latest version
2) I checked it was still in the system path:
import sys
sys.path
The ntlk directory appears in the list of paths
3) I checked I was able to import other modules from the sys.path without issues.
Thanks
Upvotes: 0
Views: 153
Reputation: 3170
update your PYTHONPATH variable as per your installed python [2.x or 3.x]
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages
Upvotes: 1