python
零基础,学习python笔记整理
锅前带刀小笼包
这个作者很懒,什么都没留下…
展开
-
twisted builtins.TypeError: __init__() missing 1 required positional argument: 'dbpool'
学习爬虫异步插入,遇到问题Unhandled error in Deferred:2020-05-10 14:41:59 [twisted] CRITICAL: Unhandled error in Deferred:...builtins.TypeError: __init__() missing 1 required positional argument: 'dbpool'发现是函数名写错, 应该是from_settings ,结果写成了from_setting,低级错误,记录一下pip原创 2020-05-10 14:52:59 · 851 阅读 · 2 评论 -
python3.7 nltk中collocations报错解决方法
学习自然语言处理,用到collocations()方法时报错>>>text1.collocations()Traceback (most recent call last): File "<input>", line 1, in <module> File "D:\python\test02\venv\lib\site-packages\nlt...原创 2020-02-29 22:42:33 · 440 阅读 · 0 评论