我正在尝试使用PyInstaller将python脚本转换为.exe。脚本将转换为exe文件,没有任何错误日志。
但是运行.exe文件时却得到ModuleNotFoundError:没有名为'srsly.msgpack.util'的模块
打开由PyInstaller和cx_Freeze生成的exe文件时出现问题。The Screenshot of the error is attached here.
曾尝试更新,卸载和重新安装软件包,但问题仍然存在。
版本:
这里提到的问题:https://pypi.python.org/pypi/msgpack/0.5.1
从msgpack-0.4或更早版本升级时,请勿进行pip install -U msgpack-python。 pip卸载msgpack-python; pip安装msgpack代替。