japerk / nltk-trainer

Train NLTK objects with zero code
http://nltk-trainer.readthedocs.org/en/latest/
Apache License 2.0
747 stars 225 forks source link

No module named copy_reg #1

Closed danielgatis closed 13 years ago

danielgatis commented 13 years ago

so: windows7 python 2.6

when i try to load a dumped classifier i get this exception: No module named copy_reg. There is a bug report for this (http://www.archivum.info/python-bugs-list@python.org/2007-04/msg00222.html). The solution is to make sure you export your pickled object to a file open in binary mode, even if you are using the default protocol 0 (commonly referred to as being "text")

japerk commented 13 years ago

Thanks, glad to know it now works on windows