1

我用python编写了一个程序,我用innosetup制作了一个安装文件。安装我的exe文件并朗姆我安装的程序后出现错误:

Traceback (most recent call last):
  File "ProductionRules.py", line 3, in <module>
  File "zipextimporter.pyo", line 82, in load_module
  File "nltk\__init__.pyo", line 40, in <module>
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

当我在转换为 exe 之前运行“ProductionRules.py”时不会发生此错误。我应该怎么办 ?请帮我。

4

0 回答 0