- 博客(14)
- 收藏
- 关注
原创 【python】解决报错:TypeError:unsupported operand type(s) for |=: ‘dict‘ and ‘dict‘
【代码】【python】解决报错:TypeError:unsupported operand type(s) for |=: ‘dict‘ and ‘dict‘
2023-10-24 19:43:47
1752
原创 彻底解决!TF-IDF中的 TypeError: doc2bow expects an array of unicode tokens on input, not a single string
彻底解决! TF-IDF中的 TypeError: doc2bow expects an array of unicode tokens on input, not a single string
2022-08-01 10:11:07
1350
原创 成功解决 UnicodeEncodeError: ‘gbk‘ codec can‘t encode character ‘\xe7‘ in position 1502: illegal multiby
UnicodeEncodeError
2022-07-22 15:26:42
1212
原创 成功解决ModuleNotFoundError: No module named ‘tensorflow.compat.v2‘
报错:ModuleNotFoundError: No module named ‘tensorflow.compat.v2’原因:tf.compat.v2这个包与你当前的tensorflow的版本不匹配,需要升级到1.14 , 1.15, or 2.0的版本。解决方法:pip install tensorflow==1.15
2021-08-17 15:53:27
14432
原创 成功解决TypeError: ‘NoneType‘ object is not iterable
原代码: question_similar_List = get_question_similarList(question,bearer) for question_similar in question_similar_List: search_dict.setdefault(question, {})[question_similar] = answer_list print(search_dict)报错:TypeError: ‘NoneType’
2021-08-11 14:50:03
17749
2
原创 成功解决fuzzywuzzy安装问题
## 成功解决fuzzywuzzy安装问题pip install fuzzywuzzy报错:ERROR: Could not find a version that satisfies the requirement fuzzywuzzy (from versions: none) ERROR: No matching distribution found for fuzzywuzzy各种尝试之后…在pycharm控制台输入:pip install fuzzywuzzy ,回车下载成功!...
2021-08-02 15:03:18
2828
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人