| <type 'exceptions.ImportError'> | Python 2.7.18: /usr/bin/python Mon Apr 27 18:14:08 2026 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/cgpotts/christopherpotts.net/ling/teaching/cs224u/lambdas/index.cgi in <module>() |
| 13 import sys |
| 14 sys.path.append('/home/cgpotts/lib/nltk') |
| => 15 import nltk |
| 16 |
| 17 ###################################################################### |
| nltk undefined |
| /home/cgpotts/lib/nltk/nltk/__init__.py in <module>() |
| 90 from tree import * |
| 91 from util import * |
| => 92 from yamltags import * |
| 93 |
| 94 # don't import contents into top-level namespace: |
| yamltags undefined |
| /home/cgpotts/lib/nltk/nltk/yamltags.py in <module>() |
| 2 |
| 3 """ |
| 4 Register YAML tags in the NLTK namespace with the YAML loader, by telling it |
| 5 what module and class to look for. |
| 6 |
| yaml undefined |
<type 'exceptions.ImportError'>: No module named yaml
args =
('No module named yaml',)
message =
'No module named yaml'