1.这个原因是由于captcha版本安装太低引起的,所以导致register页面打开报错
2.解决办法就是安装更高级版本的captcha
解决
pip install django-simple-captcha==0.5.5